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.
This commit is contained in:
parent
0a0b09c714
commit
51cdb87223
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
echo "$USER"
|
||||
|
||||
/home/wpcarro/.nix-profile/bin/rebuild
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue