From a63446a832c41ba5b98887c1799f1a51f4b35044 Mon Sep 17 00:00:00 2001 From: mozempk Date: Thu, 23 Apr 2026 14:57:40 +0200 Subject: [PATCH] fix: add --extra-experimental-features nix-command flakes to nix profile add --- iso/_inner-build-live.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"