Commit 0ecfe2d67b7d

Vincent Demeester <vincent@sbr.pm>
2020-05-25 14:46:55
builds: cachix export everywhere ๐Ÿ˜“
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 233c12f
Changed files (2)
.builds/nix-pkgs.yml
@@ -6,17 +6,22 @@ sources:
   - git@git.sr.ht:~vdemeester/secrets
 tasks:
 - setup: |
-    set -euo pipefail
-    set +x
-    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
-    set -x
     nix-env -iA cachix -f https://cachix.org/api/v1/install
     cachix use shortbrain
 - nixos: |
+    set +x
+    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+    set -x
     nix-build home/ci.nix -A nixosCacheOutputs | cachix push shortbrain
 - nixos-unstable: |
+    set +x
+    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+    set -x
     nix-build home/ci.nix -A nixosUnstableCacheOutputs | cachix push shortbrain
 - nixpkgs: |
+    set +x
+    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+    set -x
     nix-build home/ci.nix -A nixkgsCacheOutputs | cachix push shortbrain
 - nur-update: |
     curl -XPOST "https://nur-update.herokuapp.com/update?repo=vdemeester"
.builds/nix-systems.yml
@@ -6,13 +6,12 @@ sources:
   - git@git.sr.ht:~vdemeester/secrets
 tasks:
 - setup: |
-    set -euo pipefail
-    set +x
-    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
-    set -x
     nix-env -iA cachix -f https://cachix.org/api/v1/install
     cachix use shortbrain
 - systems: |
+    set +x
+    export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
+    set -x
     nix-build home -A x86_64-linux
 triggers:
 - action: email