summaryrefslogtreecommitdiffstats
path: root/update.sh
diff options
context:
space:
mode:
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}"