aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-06-04 11:53:04 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-06-04 11:53:04 +0200
commit4462b0889cb0290e516506556f2269bafdc5be98 (patch)
tree3f22c0a61227beb1251f44dea6d2e195298013a4 /build
parent1849de11ec1e32e9eebb83f24d5339bea88b7ed7 (diff)
build: fixing build script issues
Diffstat (limited to 'build')
-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
}