3 ms·
What is the process if you would want to attempt to patch something in nixpkgs? Does that happen? Is there a way with your config to do that in an easy way? I t
by mongol 4y ago
What is the process if you would want to attempt to patch something in nixpkgs? Does that happen? Is there a way with your config to do that in an easy way? I think overlays is an attempt to patch it for yourself, but if you would want to prepare a "proper patch"?
- dudeinsf 4y agonixpkgs has many owners that span across the 80,000+ software packages. When you open a PR against a specific package, the owner is notified via CI that Nix Foundation runs. To test with your own config, it's easy to instead of importing nixpkgs, to import nixpkgs.applyPatches { patch } with a path to your fix. And yes, overlays are a great way to quickly override attributes from a package definition, maybe while waiting on others to fix upstream ;)
- mongol 4y agoThanks! I found there is also possible to define "disabledModules" and then define your own to replace. I think I will try that.