File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ set -euo pipefail
3
3
4
4
here=$( dirname " ${BASH_SOURCE[0]} " )
5
5
flake=" "
6
+ flakeAttr=" "
6
7
kexecUrl=" "
7
8
kexecExtraFlags=" "
8
9
enableDebug=" "
@@ -246,7 +247,7 @@ parseArgs() {
246
247
flake=" ${BASH_REMATCH[1]} "
247
248
flakeAttr=" ${BASH_REMATCH[2]} "
248
249
fi
249
- if [[ -z ${flakeAttr- } ]]; then
250
+ if [[ -z ${flakeAttr} ]]; then
250
251
echo " Please specify the name of the NixOS configuration to be installed, as a URI fragment in the flake-uri." >&2
251
252
echo ' For example, to use the output nixosConfigurations.foo from the flake.nix, append "#foo" to the flake-uri.' >&2
252
253
exit 1
@@ -278,7 +279,7 @@ nixBuild() {
278
279
}
279
280
280
281
runVmTest () {
281
- if [[ -z ${flakeAttr- } ]]; then
282
+ if [[ -z ${flakeAttr} ]]; then
282
283
echo " --vm-test is not supported with --store-paths" >&2
283
284
echo " Please use --flake instead or build config.system.build.installTest of your nixos configuration manually" >&2
284
285
exit 1
You can’t perform that action at this time.
0 commit comments