aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/build b/build
index 1b04c71fb33..bf2541cbb84 100755
--- a/build
+++ b/build
@@ -22,14 +22,14 @@ function build {
## Build and output build path for debugging
function debug {
- build "$ROOT"
+ build
echo "Build path: $OUT"
exit 0
}
## Build and switch to the new configuration (requires root)
function switch {
- build "$ROOT"
+ build
nix-env -p /nix/var/nix/profiles/system --set "$OUT"
"$OUT"/bin/switch-to-configuration switch
}