PackageInfo::queryOutputs
should not trip up on placeholders
#11885
Labels
feature
Feature request or proposal
Milestone
Is your feature request related to a problem? Please describe.
Currently when we try to get outputs (based on a
bool
parameter which perhaps we can get rid of with this), we get:or so.
This is because that is a placeholder, not a read store path.
Describe the solution you'd like
We should first check if it is a placeholder, and then the path to be
std::nullopt
accordingly.Describe alternatives you've considered
Arguably this whole function is a misguided mess considering #6507 though.
Additional context
Currently breaking NixOS/hydra#1421
CC @Mic92
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: