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
mercurial: add withPackages #81100
mercurial: add withPackages #81100
Conversation
ae48558
to
312c492
Compare
is it really required to put evolve into buildInputs? Can't we just use |
Could you give me an example of doing it that way? Adding it to |
@xavierzwirtz yeah, I understand. It is definitely easier to use when it is bundled.
Maybe a function like |
312c492
to
5f1ae14
Compare
@danbst how's it look now? I used your code sample to implement |
5f1ae14
to
29bdca5
Compare
29bdca5
to
e1c7fc1
Compare
Motivation for this change
Mercurial ships features in external packages, expecting the end user to install those packages and enable them in their config. This PR adds a
withPackages
function that builds a derivation including mercurial and the supplied packages.Mercurial Evolve enables safe mutable history for mercurial.
Things done
hg-evolve: init at 9.2.2
mercurial: add withPackages
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)