diff --git a/overlay-patched.nix b/overlay-patched.nix index 65e0a99..60195cc 100644 --- a/overlay-patched.nix +++ b/overlay-patched.nix @@ -2,8 +2,8 @@ final: prev: let - patchIt = drv: inStr: outStr: drv.overrideAttrs (_: { - patchPhase = '' + patchIt = drv: inStr: outStr: drv.overrideAttrs (oldAttrs: { + postPatch = oldAttrs.postPatch or "" + '' substituteInPlace main.cpp \ --replace '"${inStr}"' '"${outStr}"' '';