patch logic
This commit is contained in:
parent
9c8c4c8655
commit
4a5e725a00
@ -26,7 +26,7 @@ self = rec {
|
||||
builtGems = self // (lib.mapAttrs (gem: deriv:
|
||||
if patches ? "${gem}"
|
||||
then lib.overrideDerivation deriv (oldAttrs:
|
||||
if oldAttrs ? dontPatch && oldAttrs.dontPatch == 1 then {}
|
||||
if oldAttrs ? dontPatch && !(oldAttrs.dontPatch == false || oldAttrs.dontPatch == null) then {}
|
||||
else patches."${gem}")
|
||||
else deriv) preBuilt);
|
||||
in builtGems;
|
||||
|
Loading…
Reference in New Issue
Block a user