forked from lix-project/lix
Disable eval cache with --impure
Fixes $ nix build nixpkgs#zoom-us error: Package ‘zoom-us-5.0.399860.0429’ in /nix/store/m79v7h75b69fkk8d2qcwm555l3wq6fmv-source/pkgs/applications/networking/instant-messengers/zoom-us/default.nix:126 has an unfree license (‘unfree’), refusing to evaluate. $ nix build nixpkgs#zoom-us --impure error: cached failure of attribute 'legacyPackages.x86_64-linux.zoom-us.drvPath'
This commit is contained in:
parent
959295cf4b
commit
d746ef4a81
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ ref<eval_cache::EvalCache> openEvalCache(
|
||||||
bool useEvalCache)
|
bool useEvalCache)
|
||||||
{
|
{
|
||||||
return ref(std::make_shared<nix::eval_cache::EvalCache>(
|
return ref(std::make_shared<nix::eval_cache::EvalCache>(
|
||||||
useEvalCache,
|
useEvalCache && evalSettings.pureEval,
|
||||||
lockedFlake->getFingerprint(),
|
lockedFlake->getFingerprint(),
|
||||||
state,
|
state,
|
||||||
[&state, lockedFlake]()
|
[&state, lockedFlake]()
|
||||||
|
|
Loading…
Reference in a new issue