summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2021-11-20 18:11:50 +0000
committertomberek <tomberek@users.noreply.github.com>2021-11-20 16:58:04 -0500
commita66592d763bff6da755495e18d1f1dc68508c44e (patch)
tree6f7a58d16a73a90a5413a14d56fbfa92e9a361b0
parenta88446e324ce48d244a9e2866325b00ab0729b11 (diff)
gimpPlugins.fourier: fix build on clang
-rw-r--r--pkgs/applications/graphics/gimp/plugins/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 1715542adce4..17d87b60fece 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -125,6 +125,8 @@ in
buildInputs = with pkgs; [ fftw ];
postPatch = ''
+ substituteInPlace Makefile --replace '$(GCC)' '$(CC)'
+
# The tarball contains a prebuilt binary.
make clean
'';