diff options
author | Pierre Bourdon <delroth@gmail.com> | 2024-05-17 02:02:48 +0200 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2024-05-17 02:16:15 +0200 |
commit | 5a1824ebe1fcdeff86b57a13a33d6428e89e4bce (patch) | |
tree | 62e0ed09d6024b9a09f92273ee9aa4515f3bca60 /src/libfetchers/cache.hh | |
parent | 9249c89dc617084640848d4b429311ed3dc152d9 (diff) |
derived-path: refuse built derived path with a non-derivation base
Example: /nix/store/dr53sp25hyfsnzjpm8mh3r3y36vrw3ng-neovim-0.9.5^out
This is nonsensical since selecting outputs can only be done for a
buildable derivation, not for a realised store path. The build worker
side of things ends up crashing with an assertion when trying to handle
such malformed paths.
Change-Id: Ia3587c71fe3da5bea45d4e506e1be4dd62291ddf
Diffstat (limited to 'src/libfetchers/cache.hh')
0 files changed, 0 insertions, 0 deletions