sherpa: fix on darwin

Fixes: 81cf1908 ('sherpa: fix build w/glibc-2.32')
This commit is contained in:
Dmitry Kalinkin 2021-02-25 17:24:07 -05:00
parent 04ac9dcd31
commit 5b9a3edb20

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "1iwa17s8ipj6a2b8zss5csb1k5y9s5js38syvq932rxcinbyjsl4";
};
postPatch = ''
postPatch = lib.optional (stdenv.hostPlatform.libc == "glibc") ''
sed -ie '/sys\/sysctl.h/d' ATOOLS/Org/Run_Parameter.C
'';