Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error for IFD usage should be better #4

Open
infinisil opened this issue Oct 16, 2023 · 0 comments
Open

Error for IFD usage should be better #4

infinisil opened this issue Oct 16, 2023 · 0 comments

Comments

@infinisil
Copy link
Member

Issue description

For context, IFD is disallowed for packages in Nixpkgs.

When you try to declare a package using IFD, the pkgs/by-name check gives a poor error message:

error: path '/nix/store/2vvz5866f1ljc547rfbqj8xvsr2pxg6p-source.drv' is not valid

See NixOS/nixpkgs#261052

This should be improved, though that might be better done in Nix itself.

@infinisil infinisil transferred this issue from NixOS/nixpkgs Mar 18, 2024
@infinisil infinisil changed the title pkgs/by-name error for IFD usage should be better Error for IFD usage should be better Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant