diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-06-04 11:53:04 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-06-04 11:53:04 +0200 |
commit | 4462b0889cb0290e516506556f2269bafdc5be98 (patch) | |
tree | 3f22c0a61227beb1251f44dea6d2e195298013a4 /build | |
parent | 1849de11ec1e32e9eebb83f24d5339bea88b7ed7 (diff) |
build: fixing build script issues
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |