We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 554757f commit 24c7cbaCopy full SHA for 24c7cba
src/nixos-anywhere.sh
@@ -1050,7 +1050,7 @@ SSH
1050
1051
# Get system-features with a specific cpu architecture from the machine and add them to the installer
1052
if [[ -n ${flake} ]]; then
1053
- system_features=$(nix --extra-experimental-features 'nix-command flakes' eval --apply toString "${flake}"#"${flakeAttr}".nix.settings.system-features)
+ system_features=$(nix --extra-experimental-features 'nix-command flakes' eval --apply 'x: toString (x.nix.settings.system-features or "")' "${flake}#${flakeAttr}")
1054
if [[ -z ${system_features} ]]; then
1055
system_features=$(runSshNoTty -o ConnectTimeout=10 nix --extra-experimental-features 'nix-command' config show system-features)
1056
fi
0 commit comments