Something went wrong. Try again.
RSS Reader using AT Protocol rssbase.io
feed atom rss reader atproto social
Something went wrong. Try again.
rssbase.io devenv.cachix.nix
824 B · 32 lines
Nix
at main
123456789101112131415161718192021222324252627282930313233{ pkgs, ... }:
{ scripts.cachix-push.exec = '' set -eu
if [ -z "''${CACHIX_AUTH_TOKEN:-}" ] && [ -z "''${CACHIX_SIGNING_KEY:-}" ]; then echo "error: set CACHIX_AUTH_TOKEN=... or CACHIX_SIGNING_KEY before running devenv-cachix-push" >&2 exit 1 fi
set -- for path in \ .devenv/gc/shell \ .devenv/profile \ .devenv/gc/task-config-devenv-config-task-config \ .devenv/gc/test-devenv-config-test \ .devenv/gc/changelog-json-devenv-config-changelog-json do if [ -e "$path" ]; then set -- "$@" "$(readlink -f "$path")" fi done
if [ "$#" -eq 0 ]; then echo "error: no devenv store paths found; run this through 'devenv shell devenv-cachix-push'" >&2 exit 1 fi
${pkgs.cachix}/bin/cachix push rssbase "$@" '';}