tvl-depot/ci/scripts/build-socrates.sh
William Carroll 59f7481411 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.
2020-08-20 11:26:31 +01:00

7 lines
161 B
Bash

set -euo pipefail
nix-build /home/wpcarro/nixpkgs/nixos \
-I briefcase="$(pwd)" \
-I nixos-config=nixos/socrates/default.nix \
-A system \
--show-trace