You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to check something and ran nix build nixpkgs#hello.drvPath. I got this error:
error:
… while evaluating the flake output attribute 'legacyPackages.aarch64-darwin.hello.drvPath'
error: string '/nix/store/wzgg4k9ll80qrcsmkgvrzdhmlbb4s00x-hello-2.12.1.drv' has a context which refers to a complete source and binary closure. This is not supported at this time
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.
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).
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 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: