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 ce0d2e3 commit 186b8bfCopy full SHA for 186b8bf
pkgs/microvm-command.nix
@@ -168,7 +168,7 @@ writeScriptBin "microvm" ''
168
NEW_SYSTEM=$(readlink "$DIR/toplevel")
169
else
170
FLAKE=$(cat "$DIR/flake")
171
- NEW_SYSTEM=$(nix --option narinfo-cache-negative-ttl 10 eval --raw "$FLAKE#nixosConfigurations.$NAME.config.system.build.toplevel")
+ NEW_SYSTEM=$(nix --option narinfo-cache-negative-ttl 10 eval --raw "$FLAKE#nixosConfigurations.$NAME.config.system.build.toplevel" || echo error)
172
fi
173
NEW=''${NEW_SYSTEM#*-}
174
0 commit comments