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

How to override packages with packages from nixpkgs #194

Closed
MangoIV opened this issue Aug 24, 2023 · 2 comments
Closed

How to override packages with packages from nixpkgs #194

MangoIV opened this issue Aug 24, 2023 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@MangoIV
Copy link

MangoIV commented Aug 24, 2023

I want to be able to write

packages.fourmolu = pkgs.haskellPackages.fourmolu_0_13_1_0;

like I can do with the usual nixpkgs haskell tooling to both improve caching and reuse potential patches.

@srid
Copy link
Owner

srid commented Aug 24, 2023

You can already do this, see an example here: #192

We should document this though, so keeping the issue open.

@srid srid added the documentation Improvements or additions to documentation label Aug 24, 2023
@srid srid changed the title make it possible to override packages with packages from nixpkgs How to override packages with packages from nixpkgs Aug 24, 2023
@MangoIV
Copy link
Author

MangoIV commented Aug 24, 2023

Interesting, thanks!

@srid srid closed this as completed in 9c9db83 Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants