Merge pull request 'rebuild no longer produces result symlinks' (#42) from develop into release-25.11
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 6s
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 6s
Reviewed-on: #42
This commit is contained in:
commit
b3fda57098
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")
|
[[ -n "$TARGET_HOST" || -n "$BUILD_HOST" ]] && CMD+=("--ask-sudo-password")
|
||||||
|
|
||||||
# Build config first so we can diff it
|
# 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")
|
[ "$SHOW_TRACE" = 1 ] && BUILD_CMD+=("--show-trace")
|
||||||
[ -n "$BUILD_HOST" ] && BUILD_CMD+=("--build-host" "$BUILD_HOST")
|
[ -n "$BUILD_HOST" ] && BUILD_CMD+=("--build-host" "$BUILD_HOST")
|
||||||
|
|
||||||
|
|
@ -101,7 +101,7 @@ Rebuild_home() {
|
||||||
|
|
||||||
# Build config first so we can diff it
|
# Build config first so we can diff it
|
||||||
if [ "$ROLLBACK" = 0 ]; then
|
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")
|
[ "$SHOW_TRACE" = 1 ] && BUILD_CMD+=("--show-trace")
|
||||||
_status "Building Home Manager configuration '$FLAKE'..."
|
_status "Building Home Manager configuration '$FLAKE'..."
|
||||||
_status "Executing command: ${BUILD_CMD[*]}"
|
_status "Executing command: ${BUILD_CMD[*]}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue