Revise previous opinions about absolute paths GT <bracket-notation>
Unforeseen problem: `buildkite-agent` runs its builds in a separate directory, so if I want the `nix-build` command to build the newly checked out code, I need to set <briefcase> to the CWD.
This commit is contained in:
parent
7833632a79
commit
59f7481411
11 changed files with 12 additions and 21 deletions
|
@ -1,6 +1,7 @@
|
|||
set -euo pipefail
|
||||
|
||||
nix-build /home/wpcarro/nixpkgs/nixos \
|
||||
-I nixos-config=/home/wpcarro/briefcase/nixos/socrates/default.nix \
|
||||
-I briefcase="$(pwd)" \
|
||||
-I nixos-config=nixos/socrates/default.nix \
|
||||
-A system \
|
||||
--show-trace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue