From 3f14eb3efc620cbcf0b1369fd6add9ff19959c12 Mon Sep 17 00:00:00 2001 From: Kermina Awad Date: Tue, 10 Feb 2026 09:51:51 -0500 Subject: [PATCH] gf: correct postPatch declaration --- pkgs/by-name/gf/gf/package.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/gf/gf/package.nix b/pkgs/by-name/gf/gf/package.nix index 620bc0e4d4ca..d9bcc334bb38 100644 --- a/pkgs/by-name/gf/gf/package.nix +++ b/pkgs/by-name/gf/gf/package.nix @@ -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