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

Add support for patches #302

Open
fooker opened this issue Dec 30, 2020 · 0 comments
Open

Add support for patches #302

fooker opened this issue Dec 30, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@fooker
Copy link

fooker commented Dec 30, 2020

niv should allow to apply local patches for sources. This would avoid to maintain a tree for sources that exist only to track patches.

I can think of multiple ways to implement this:

  • By providing a wrapper for each source derivation that allow to apply patches (something like sources.nixpkgs.patched [ ./path/to.patch ]
  • By adding a config option listing the patches to be applied

I would prefer the first option and would be happy to work on an implementation if this is an acceptable approach.

@refnil refnil added the enhancement New feature or request label Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants