nixos-rebuild: fix typo
This commit is contained in:
@@ -864,14 +864,14 @@ if [ -z "$rollback" ]; then
|
||||
value = import \"$(realpath $buildFile)\";
|
||||
set = if builtins.isFunction value then value {} else value;
|
||||
in set.${attr:+$attr.}config.system.build.images.$imageVariant.v.passthru.filePath" \
|
||||
"${extraBuildFlags[@]}"
|
||||
"${extraBuildFlags[@]}" \
|
||||
| jq -r .
|
||||
)"
|
||||
elif [[ -z $flake ]]; then
|
||||
imageName="$(
|
||||
runCmd nix-instantiate --eval --strict --json --expr \
|
||||
"with import <nixpkgs/nixos> {}; config.system.build.images.$imageVariant.passthru.filePath" \
|
||||
"${extraBuildFlags[@]}"
|
||||
"${extraBuildFlags[@]}" \
|
||||
| jq -r .
|
||||
)"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user