tvl-depot/ci/scripts/build-socrates.sh
William Carroll 51cdb87223 Prefer nixos-rebuild to the rebuild script
The rebuild script calls sudo, which I won't need as I test running
buildkite-agent prefixed with `sudo` or as the root user.
2020-08-20 11:26:31 +01:00

8 lines
232 B
Bash

set -euo pipefail
nixos-rebuild \
-I nixos-config=/home/wpcarro/briefcase/nixos/socrates/configuration.nix \
-I nixpkgs=/home/wpcarro/nixpkgs \
-I depot=/home/wpcarro/depot \
-I briefcase=/home/wpcarro/briefcase \
switch