rebuild no longer produces result symlinks #42
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ Rebuild_nixos() {
|
|||
[[ -n "$TARGET_HOST" || -n "$BUILD_HOST" ]] && CMD+=("--ask-sudo-password")
|
||||
|
||||
# Build config first so we can diff it
|
||||
local BUILD_CMD=("nixos-rebuild" "build" "--flake" "$FLAKE")
|
||||
local BUILD_CMD=("nixos-rebuild" "build" "--no-build-output" "--flake" "$FLAKE")
|
||||
[ "$SHOW_TRACE" = 1 ] && BUILD_CMD+=("--show-trace")
|
||||
[ -n "$BUILD_HOST" ] && BUILD_CMD+=("--build-host" "$BUILD_HOST")
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ Rebuild_home() {
|
|||
|
||||
# Build config first so we can diff it
|
||||
if [ "$ROLLBACK" = 0 ]; then
|
||||
local BUILD_CMD=("home-manager" "build" "--flake" "$FLAKE")
|
||||
local BUILD_CMD=("home-manager" "build" "--no-out-link" "--flake" "$FLAKE")
|
||||
[ "$SHOW_TRACE" = 1 ] && BUILD_CMD+=("--show-trace")
|
||||
_status "Building Home Manager configuration '$FLAKE'..."
|
||||
_status "Executing command: ${BUILD_CMD[*]}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue