gf: correct postPatch declaration

This commit is contained in:
Kermina Awad
2026-02-10 09:51:51 -05:00
parent d96e0ef24c
commit 3f14eb3efc
+5 -6
View File
@@ -39,14 +39,13 @@ stdenv.mkDerivation {
./build-use-optional-freetype-with-pkg-config.patch
];
postPatch = [
(lib.optionalString withExtensions ''
postPatch =
lib.optionalString withExtensions ''
cp ./extensions_v5/extensions.cpp .
'')
(lib.optionalString (pluginsFile != null) ''
''
+ lib.optionalString (pluginsFile != null) ''
cp ${pluginsFile} ./plugins.cpp
'')
];
'';
preConfigure = ''
patchShebangs build.sh