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 9afe1f9 commit be969b0Copy full SHA for be969b0
src/nixos-anywhere.sh
@@ -11,7 +11,7 @@ enableDebug=""
11
nixBuildFlags=()
12
diskoAttr=""
13
diskoScript=""
14
-diskoMode="disko"
+diskoMode=""
15
diskoDeps=y
16
nixosSystem=""
17
extraFiles=""
@@ -358,6 +358,14 @@ parseArgs() {
358
359
diskoAttr="${diskoMode}Script"
360
361
+ if [[ ${diskoMode} != "" ]]; then
362
+ if [[ ${diskoScript} != "" ]]; then
363
+ abort "--disko-mode cannot be used if --store-paths is used"
364
+ fi
365
+ else
366
+ diskoMode=disko
367
368
+
369
if [[ ${diskoDeps} == "n" ]]; then
370
diskoAttr="${diskoAttr}NoDeps"
371
fi
0 commit comments