summaryrefslogtreecommitdiffstats
path: root/update.sh
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2019-02-16 20:18:37 -0800
committerCole Mickens <cole.mickens@gmail.com>2019-02-16 20:33:14 -0800
commit3de89296ee88ab0a63f50efa03dfff72b78fe994 (patch)
treeacc8c80e209accc4f22ae3e6d4580e95a803122f /update.sh
parent015f13a98939cd8a9bc36ba556647508ffb55a06 (diff)
autoupdate, and autoupdate improvements
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh13
1 files changed, 2 insertions, 11 deletions
diff --git a/update.sh b/update.sh
index 5217511..c020013 100755
--- a/update.sh
+++ b/update.sh
@@ -73,15 +73,6 @@ rg --multiline '(?s)(.*)<!--pkgs-->(.*)<!--pkgs-->(.*)' "README.md" \
--replace "\$1${replace}\$3" \
> README2.md; mv README2.md README.md
-# build all
-nix-build --no-out-link --keep-going build.nixos-unstable.nix || true
-nix-build --no-out-link --keep-going build.nixpkgs-unstable.nix || true
-
-# push all to cachix
-nix-build --no-out-link --keep-going build.nixos-unstable.nix | cachix push "${cachixremote}" || true
-nix-build --no-out-link --keep-going build.nixpkgs-unstable.nix | cachix push "${cachixremote}" || true
-
-# these should be noops if all went well
-nix-build --no-out-link build.nixos-unstable.nix | cachix push "${cachixremote}"
-nix-build --no-out-link build.nixpkgs-unstable.nix | cachix push "${cachixremote}"
+# build and push
+nix-build --no-out-link build.nix -A all | cachix push "${cachixremote}"