Commit 845fcd56f930
Changed files (4)
.builds/nix-pkgs.yml
@@ -11,7 +11,7 @@ tasks:
set +x
export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
set -x
- nix-build home/ci.nix -A cacheOutputs | cachix push shortbrain
+ nix build --verbose -f home/ci.nix cacheOutputs | cachix push shortbrain
- nur-update: |
curl -XPOST "https://nur-update.herokuapp.com/update?repo=vdemeester"
triggers:
.builds/nix-systems.yml
@@ -10,13 +10,13 @@ tasks:
set +x
export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
set -x
- nix-build home -A systems --dry-run
+ nix build -f home/systems.nix systems --dry-run
- build-servers: |
set -euo pipefail
set +x
export CACHIX_SIGNING_KEY=$(cat ~/.cachix.key)
set -x
- nix-build home -A sakhalin -A okinawa -A kerkouane
+ nix build -f home/systems.nix sakhalin okinawa kerkouane
triggers:
- action: email
condition: failure
hack/system
@@ -22,7 +22,7 @@ function dry-build() {
local machine
machine="$(hostname)"
unset NIX_PATH
- nix-build --dry-run --out-link "$WORK_DIR" -A "$machine" ||
+ nix build systems.nix --dry-run --out-link "$WORK_DIR" "$machine" ||
error "Failed to build system"
}
@@ -31,7 +31,7 @@ function build() {
local machine
machine="$(hostname)"
unset NIX_PATH
- nix-build --out-link "$WORK_DIR" -A "$machine" ||
+ nix build -f systems.nix --out-link "$WORK_DIR" "$machine" ||
error "Failed to build system"
}
default.nix → systems.nix
File renamed without changes