summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2019-07-24 21:53:56 +0200
committerCole Mickens <cole.mickens@gmail.com>2019-07-24 21:53:56 +0200
commitdbf4509010c88f357e71a6bd43d7ea908b3ad744 (patch)
tree1081b23a928ac778cec69c85e1a1208ae38736bd
parent001891cf36eb8766ef8b04e744398878aa01b600 (diff)
update.sh: use our own dang cache, oops
-rwxr-xr-xupdate.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index c7971c7..b8c64ed 100755
--- a/update.sh
+++ b/update.sh
@@ -89,7 +89,11 @@ rg --multiline '(?s)(.*)<!--pkgs-->(.*)<!--pkgs-->(.*)' "README.md" \
> README2.md; mv README2.md README.md
# build and push
-nix-build --no-out-link build.nix -A all | cachix push "${cachixremote}"
+nix-build \
+ --no-out-link \
+ --option "extra-binary-caches" "https://cache.nixos.org https://colemickens.cachix.org https://nixpkgs-wayland.cachix.org" \
+ --option "trusted-public-keys" "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= colemickens.cachix.org-1:oIGbn9aolUT2qKqC78scPcDL6nz7Npgotu644V4aGl4= nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA=" \
+ build.nix -A all | cachix push "${cachixremote}"
for m in "${manual[@]}"; do
echo "UPDATE MANUALLY: ${m}"