From 6b460f16afea660580f433b97ffe4838f644df67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marijan=20Petri=C4=8Devi=C4=87?= Date: Fri, 28 Mar 2025 14:55:13 -0700 Subject: [PATCH] Don't override the defaultPatch phase --- overlay-patched.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}"' '';