Open YorikSar opened 4 months ago
In a previous restriction we decided to just make the CLI accept these really weird string context items (that we wish didn't exist), but I have yet to do it. That would make that message go away (in this context, at least).
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
Describe the bug
I wanted to check something and ran
nix build nixpkgs#hello.drvPath
. I got this error:I know a bit about Nix, but I can't understand what "a complete source and binary closure" means. I bet people who are less experienced with Nix wouldn't understand what does string having a context mean as well. Neither of these notions are mentioned in the documentation and errors should not require documentation to be understood. This error message should be changed.
Steps To Reproduce
Run
nix build nixpkgs#hello.drvPath
.Expected behavior
A clear and concise error explaining unmet conditions should be displayed.
nix-env --version
outputnix-env (Nix) 2.21.1
Priorities
Add :+1: to issues you find important.