forked from fediversity/fediversity
proxmox scripts: set experimental features rather than implicitly depending on them (#531)
Reviewed-on: fediversity/fediversity#531
This commit is contained in:
parent
404ad12533
commit
f076e5653d
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"
|
||||
|
||||
options=$(
|
||||
nix eval \
|
||||
nix --extra-experimental-features 'nix-command flakes' eval \
|
||||
--impure --raw --expr "
|
||||
builtins.toJSON (builtins.getFlake (builtins.toString ./.)).vmOptions.$vm_name
|
||||
" \
|
||||
|
@ -220,7 +220,7 @@ build_iso () {
|
|||
nix_host_keys=
|
||||
fi
|
||||
|
||||
nix build \
|
||||
nix --extra-experimental-features 'nix-command flakes' build \
|
||||
--impure --expr "
|
||||
let flake = builtins.getFlake (builtins.toString ./.); in
|
||||
import ./infra/makeInstallerIso.nix {
|
||||
|
|
|
@ -160,7 +160,7 @@ grab_vm_options () {
|
|||
printf 'Grabing VM options for VM %s...\n' "$vm_name"
|
||||
|
||||
options=$(
|
||||
nix eval \
|
||||
nix --extra-experimental-features 'nix-command flakes' eval \
|
||||
--impure --raw --expr "
|
||||
builtins.toJSON (builtins.getFlake (builtins.toString ./.)).vmOptions.$vm_name
|
||||
" \
|
||||
|
|
Loading…
Add table
Reference in a new issue