gf: correct postPatch declaration (#487724)

This commit is contained in:
Sandro
2026-02-10 20:19:39 +00:00
committed by GitHub
+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