Restore an accidentally suppressed negation
Accidentally removed in ca96f52194
. This
caused `nix run` to systematically fail with
```
error: app program '/nix/store/…' is not in the Nix store
```
This commit is contained in:
parent
de77d1b924
commit
59d0de6ea1
|
@ -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