We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d54c58 commit 58085b5Copy full SHA for 58085b5
pkgs/development/tools/analysis/valgrind/default.nix
@@ -49,8 +49,7 @@ stdenv.mkDerivation rec {
49
separateDebugInfo = stdenv.hostPlatform.isLinux;
50
51
preConfigure = lib.optionalString stdenv.hostPlatform.isFreeBSD ''
52
- substituteInPlace configure --replace '`uname -r`' \
53
- ${toString stdenv.hostPlatform.parsed.kernel.version}.0-
+ substituteInPlace configure --replace-fail '`uname -r`' ${stdenv.cc.libc.version}-
54
'' + lib.optionalString stdenv.hostPlatform.isDarwin (
55
let OSRELEASE = ''
56
$(awk -F '"' '/#define OSRELEASE/{ print $2 }' \
0 commit comments