-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
haskellPackages: Add buildFromCabalSdist (faster, tested) #174176
Conversation
@ofborg build tests.haskell.cabalSdist |
059a117
to
cf5e2d5
Compare
How common do we think would people encounter breakage if we just changed the existing buildFromSdist? Do you have a reason for adding those functions in another file then the original one? |
It needs to access the package set for
It seems that |
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.
- I think the implementation is very good, thanks for the test!
- I realized that my fear of making our library more confusing is 100% a documentation problem and giving the users different options for (even mildly) different usecases is exactly right.
I am okay with merging this. Any objections @NixOS/haskell ?
Successfully created backport PR #179427 for |
Description of changes
A faster
buildFromSdist
, with tests. For use in out-of-tree projects. Triggered by #173800 (comment)Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes