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
niv: only build the executable #106906
niv: only build the executable #106906
Conversation
Installing `pkgs.niv` shouldn't pull all of GHC. Fixes nmattia/niv#299
Result of 1 package built:
|
thanks! |
Hey, hey! Thanks for this change, but this PR broke rebuild on my system, because the
The issue is that you dropped the
|
I just realize this PR was open for 20 minutes without any hint of a second opinion. The change was pretty trivial, but it introduced a typo. I’ll take this as a reminder that more eyes are better, even for changes which one is confident about. |
Indeed, I have been too hasty :/ Here is a proper fix for my fix: #107096 |
I merged this PR too soon and forgot to check that the output was still containing the binary.
Motivation for this change
Installing
pkgs.niv
shouldn't pull all of GHC.Fixes nmattia/niv#299
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)