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

nix evaluation error when passing package explicitely #7

Closed
symphorien opened this issue Jan 31, 2021 · 0 comments
Closed

nix evaluation error when passing package explicitely #7

symphorien opened this issue Jan 31, 2021 · 0 comments
Assignees

Comments

@symphorien
Copy link

$  nix-build --show-trace
error: while evaluating the attribute 'package' of the derivation 'btdu-0.1.0' at /nix/store/i03nyp29ps71c0qyay9299ivj5h15zsd-nixos-20.09.2750.85abeab48b5/nixos/pkgs/stdenv/generic/make-derivation.nix:192:11:
cannot coerce a set to a string, at /nix/store/i03nyp29ps71c0qyay9299ivj5h15zsd-nixos-20.09.2750.85abeab48b5/nixos/pkgs/stdenv/generic/make-derivation.nix:192:11

this is due to the fact that package is a set and it cannot be an argument to mkDerivation here:

https://github.com/lionello/dub2nix/blob/master/mkDub.nix#L65

@lionello lionello self-assigned this Jan 31, 2021
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

2 participants