diff --git a/iso/_inner-build-live.sh b/iso/_inner-build-live.sh index 63d970b..2dc04f0 100755 --- a/iso/_inner-build-live.sh +++ b/iso/_inner-build-live.sh @@ -75,7 +75,8 @@ if [[ -n "${NIX_PACKAGES_PREBAKE:-}" ]]; then export NIXPKGS_ALLOW_UNFREE=1 echo " nix profile install: ${_NIX_PKGS[*]}" - nix profile install --impure "${_NIX_PKGS[@]}" 2>&1 + nix profile add --extra-experimental-features "nix-command flakes" \ + --impure "${_NIX_PKGS[@]}" 2>&1 # Save the profile store path so we can restore from cache next time readlink -f /root/.nix-profile > "$_NIX_CACHE/.profile-path"