diff options
author | regnat <rg@regnat.ovh> | 2020-12-16 13:36:17 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2020-12-16 13:36:17 +0100 |
commit | cac8d5b742ec0cb80ad7232e20f63c74a217e545 (patch) | |
tree | 665863c3556f44ccc2f99aca48d62f45c7a4857c /tests/lang | |
parent | 3765174691590e690296284f717a6f3a326e3345 (diff) |
Don't ignore an absent drv file in queryPartialDrvOutputMap
This ignore was here because `queryPartialDrvOutputMap` was used both
1. as a cache to avoid having to re-read the derivation (when gc-ing for
example), and
2. as the source of truth for ca realisations
The use-case 2. required it to be able to work even when the derivation
wasn't there anymore (see https://github.com/NixOS/nix/issues/4138).
However, this use-case is now handled by `queryRealisation`, meaning
that we can safely error out if the derivation isn't there anymore
Diffstat (limited to 'tests/lang')
0 files changed, 0 insertions, 0 deletions