From 3db953848cec6694a47801ba430fd041d53788e0 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Wed, 25 Mar 2026 03:43:15 +0100 Subject: [PATCH] crystfel: fix build with gcc 15 --- pkgs/applications/science/physics/crystfel/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/science/physics/crystfel/default.nix b/pkgs/applications/science/physics/crystfel/default.nix index bcc9e2cb8138..00c8fc0c4a17 100644 --- a/pkgs/applications/science/physics/crystfel/default.nix +++ b/pkgs/applications/science/physics/crystfel/default.nix @@ -73,6 +73,9 @@ let in '' cp ${mesonPatch}/meson.build . + + substituteInPlace ccp4/library_utils.c \ + --replace-fail " int putenv ();" " int putenv (char *);" ''; }; # This is the statically-linked, pre-built binary of mosflm. Compiling it ourselves turns out to be very difficult