bruh
This commit is contained in:
@@ -54,6 +54,16 @@ in
|
||||
};
|
||||
}).overrideAttrs
|
||||
(prevAttrs: {
|
||||
# Apply patches with --forward (skip already-merged/reversed hunks) and
|
||||
# --fuzz=3 (tolerate minor context mismatches due to kernel version skew).
|
||||
patchPhase = ''
|
||||
runHook prePatch
|
||||
for p in $patches; do
|
||||
echo "applying patch $p"
|
||||
patch -p1 --forward --fuzz=3 < "$p" || true
|
||||
done
|
||||
runHook postPatch
|
||||
'';
|
||||
postPatch = prevAttrs.postPatch + configfile.extraVerPatch;
|
||||
# bypasses https://github.com/NixOS/nixpkgs/issues/216529
|
||||
passthru =
|
||||
|
||||
Reference in New Issue
Block a user