File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ writeShellScriptBin "microvm" ''
62
62
done
63
63
# consume all $@ that were processed by getopts
64
64
shift $((OPTIND -1))
65
- NIX_ARGS=("$@")
66
65
DIR=$STATE_DIR/$NAME
67
66
68
67
build() {
@@ -75,15 +74,15 @@ writeShellScriptBin "microvm" ''
75
74
76
75
FLAKE=$(cat flake)
77
76
78
- nix build " '' ${NIX_ARGS[@]}" -o current "$FLAKE"#nixosConfigurations."$NAME".config.microvm.declaredRunner >/dev/null
77
+ nix build -o current "$FLAKE"#nixosConfigurations."$NAME".config.microvm.declaredRunner >/dev/null
79
78
chmod -R u+rwX .
80
79
}
81
80
82
81
case $ACTION in
83
82
help)
84
83
echo Help:
85
84
cat << EOF
86
- Usage: $0 <action> [flags] [-- <nix args>]
85
+ Usage: $0 <action> [flags]
87
86
88
87
Actions:
89
88
-c <name> Create a MicroVM
You can’t perform that action at this time.
0 commit comments