tome4: use substituteInPlace instead of sed

This commit is contained in:
Tom van Dijk
2025-10-23 16:35:51 +02:00
parent 95cd63bebc
commit 25454ff52f
+2 -1
View File
@@ -26,7 +26,8 @@ stdenv.mkDerivation (finalAttrs: {
prePatch = ''
# http://forums.te4.org/viewtopic.php?f=42&t=49478&view=next#p234354
sed -i 's|#include <GL/glext.h>||' src/tgl.h
substituteInPlace src/tgl.h \
--replace-fail "#include <GL/glext.h>" ""
'';
nativeBuildInputs = [