Archived
Worktree harmonic jingling bee #46
@@ -68,6 +68,7 @@ cat > "$HOME/.config/nix/nix.conf" <<'EOF'
|
|||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
accept-flake-config = false
|
accept-flake-config = false
|
||||||
warn-dirty = false
|
warn-dirty = false
|
||||||
|
build-users-group =
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "Nix version:"
|
echo "Nix version:"
|
||||||
|
|||||||
@@ -696,7 +696,7 @@ cd "$repo_dir"
|
|||||||
# right after a successful install.
|
# right after a successful install.
|
||||||
. scripts/lib/nix-bootstrap.sh
|
. scripts/lib/nix-bootstrap.sh
|
||||||
ensure_nix_profile
|
ensure_nix_profile
|
||||||
NIXOS_HOST_KEYS_DIR="$(pwd)/host-keys" $sudo_pfx nix build --impure \
|
NIXOS_HOST_KEYS_DIR="$(pwd)/host-keys" nix build --impure \
|
||||||
--no-use-registries --no-accept-flake-config "${NIX_OPTS[@]}" \
|
--no-use-registries --no-accept-flake-config "${NIX_OPTS[@]}" \
|
||||||
".#nixosConfigurations.${target}.config.system.build.tarball" \
|
".#nixosConfigurations.${target}.config.system.build.tarball" \
|
||||||
--out-link "result-${target}"
|
--out-link "result-${target}"
|
||||||
@@ -736,7 +736,7 @@ declare -a NIX_OPTS=()
|
|||||||
cd "$repo_dir"
|
cd "$repo_dir"
|
||||||
. scripts/lib/nix-bootstrap.sh
|
. scripts/lib/nix-bootstrap.sh
|
||||||
ensure_nix_profile
|
ensure_nix_profile
|
||||||
$sudo_pfx nix build --no-use-registries --no-accept-flake-config "${NIX_OPTS[@]}" \
|
nix build --no-use-registries --no-accept-flake-config "${NIX_OPTS[@]}" \
|
||||||
".#nixosConfigurations.${target}.config.system.build.diskoImagesScript" \
|
".#nixosConfigurations.${target}.config.system.build.diskoImagesScript" \
|
||||||
--out-link "result-${target}"
|
--out-link "result-${target}"
|
||||||
$sudo_pfx "./result-${target}" \
|
$sudo_pfx "./result-${target}" \
|
||||||
|
|||||||
Reference in New Issue
Block a user