From 81cf1908827b3921931bee827825ec1175daa406 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 16 Aug 2020 15:12:48 +0200 Subject: [PATCH] sherpa: fix build w/glibc-2.32 --- pkgs/applications/science/physics/sherpa/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/science/physics/sherpa/default.nix b/pkgs/applications/science/physics/sherpa/default.nix index a672272e9e62..93e402ec3ceb 100644 --- a/pkgs/applications/science/physics/sherpa/default.nix +++ b/pkgs/applications/science/physics/sherpa/default.nix @@ -9,6 +9,10 @@ stdenv.mkDerivation rec { sha256 = "1iwa17s8ipj6a2b8zss5csb1k5y9s5js38syvq932rxcinbyjsl4"; }; + postPatch = '' + sed -ie '/sys\/sysctl.h/d' ATOOLS/Org/Run_Parameter.C + ''; + buildInputs = [ gfortran sqlite lhapdf rivet ]; enableParallelBuilding = true;