mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
Merge pull request #4828 from NixOS/ca/fix-nix-run
Restore an accidentally suppressed negation
This commit is contained in:
commit
57f321f3ce
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ App UnresolvedApp::resolve(ref<Store> store)
|
|||
|
||||
auto builtContext = build(store, Realise::Outputs, installableContext);
|
||||
res.program = resolveString(*store, unresolved.program, builtContext);
|
||||
if (store->isInStore(res.program))
|
||||
if (!store->isInStore(res.program))
|
||||
throw Error("app program '%s' is not in the Nix store", res.program);
|
||||
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue