mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 07:10:51 +00:00
pkgsCross.x86_64-freebsd.valgrind-light: fix build
Valgrind got a bit stricter about the format of uname -r output.
Fixes: cbc990308c
("valgrind: 3.20.0 -> 3.21.0")
This commit is contained in:
parent
5886d77561
commit
0e3823412b
@ -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 }' \
|
||||
|
Loading…
Reference in New Issue
Block a user