forked from fediversity/fediversity
proxmox scripts: set experimental features rather than implicitly depending on them
Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
parent
404ad12533
commit
46709d03d3
2 changed files with 3 additions and 3 deletions
|
@ -172,7 +172,7 @@ grab_vm_options () {
|
||||||
printf 'Grabing VM options for VM %s...\n' "$vm_name"
|
printf 'Grabing VM options for VM %s...\n' "$vm_name"
|
||||||
|
|
||||||
options=$(
|
options=$(
|
||||||
nix eval \
|
nix --extra-experimental-features 'nix-command flakes' eval \
|
||||||
--impure --raw --expr "
|
--impure --raw --expr "
|
||||||
builtins.toJSON (builtins.getFlake (builtins.toString ./.)).vmOptions.$vm_name
|
builtins.toJSON (builtins.getFlake (builtins.toString ./.)).vmOptions.$vm_name
|
||||||
" \
|
" \
|
||||||
|
@ -220,7 +220,7 @@ build_iso () {
|
||||||
nix_host_keys=
|
nix_host_keys=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
nix build \
|
nix --extra-experimental-features 'nix-command flakes' build \
|
||||||
--impure --expr "
|
--impure --expr "
|
||||||
let flake = builtins.getFlake (builtins.toString ./.); in
|
let flake = builtins.getFlake (builtins.toString ./.); in
|
||||||
import ./infra/makeInstallerIso.nix {
|
import ./infra/makeInstallerIso.nix {
|
||||||
|
|
|
@ -160,7 +160,7 @@ grab_vm_options () {
|
||||||
printf 'Grabing VM options for VM %s...\n' "$vm_name"
|
printf 'Grabing VM options for VM %s...\n' "$vm_name"
|
||||||
|
|
||||||
options=$(
|
options=$(
|
||||||
nix eval \
|
nix --extra-experimental-features 'nix-command flakes' eval \
|
||||||
--impure --raw --expr "
|
--impure --raw --expr "
|
||||||
builtins.toJSON (builtins.getFlake (builtins.toString ./.)).vmOptions.$vm_name
|
builtins.toJSON (builtins.getFlake (builtins.toString ./.)).vmOptions.$vm_name
|
||||||
" \
|
" \
|
||||||
|
|
Loading…
Add table
Reference in a new issue