diff options
Diffstat (limited to 'pkgs/development/tools/analysis/valgrind/default.nix')
-rw-r--r-- | pkgs/development/tools/analysis/valgrind/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/analysis/valgrind/default.nix b/pkgs/development/tools/analysis/valgrind/default.nix index bd56eb539e002..a43520ecb4b79 100644 --- a/pkgs/development/tools/analysis/valgrind/default.nix +++ b/pkgs/development/tools/analysis/valgrind/default.nix @@ -58,7 +58,7 @@ stdenv.mkDerivation rec { preConfigure = lib.optionalString stdenv.isFreeBSD '' substituteInPlace configure --replace '`uname -r`' \ - ${toString stdenv.hostPlatform.parsed.kernel.version}.0 + ${toString stdenv.hostPlatform.parsed.kernel.version}.0- '' + lib.optionalString stdenv.isDarwin ( let OSRELEASE = '' $(awk -F '"' '/#define OSRELEASE/{ print $2 }' \ |