-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
r-modules/generic-builder: Add missing iconv library to fix build on darwin #78965
Conversation
…r-modules on darwin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't add that package in the generic builder. Add it to SparseM
, which actually needs it.
@peti Thanks for your quick reply. Sorry for the dumb sounding question but how can I add the missing library to the |
…uild of r-modules on darwin" This reverts commit c58985b.
1. Cleans up the packagesWithRDepends, packagesWithNativeBuildInputs and packagesWithBuildInputs scope using the with statement. 2. Sorts them according to the second column with `sort -t '=' -k 2`
@peti Thanks for the hint. I reverted the changes in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't make sweeping changes to that file -- especially, if those changes are unrelated to the actual topic of the PR.
Refactorings should be made in a separate pull request. This reverts commit 2dcfa01.
@peti Ok, I reverted the refactoring changes. |
Motivation for this change
Executing
nix-shell --packages 'rWrapper.override{packages = [ rPackages.SparseM ];}'
fails with the error:Adding the missing iconv library for darwin fixes the issue.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)