diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-10-18 07:35:13 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-10-31 08:50:18 +0100 |
commit | 0e3823412bce02ba9371a202bfc3452168267942 (patch) | |
tree | cf66cb699e1d789dd53dc522643e651fb9a7c9b7 | |
parent | 5886d7756111a536f4231c440363fd6456885bc4 (diff) | |
download | nixpkgs-0e3823412bce02ba9371a202bfc3452168267942.tar nixpkgs-0e3823412bce02ba9371a202bfc3452168267942.tar.gz nixpkgs-0e3823412bce02ba9371a202bfc3452168267942.tar.bz2 nixpkgs-0e3823412bce02ba9371a202bfc3452168267942.tar.lz nixpkgs-0e3823412bce02ba9371a202bfc3452168267942.tar.xz nixpkgs-0e3823412bce02ba9371a202bfc3452168267942.tar.zst nixpkgs-0e3823412bce02ba9371a202bfc3452168267942.zip |
pkgsCross.x86_64-freebsd.valgrind-light: fix build
Valgrind got a bit stricter about the format of uname -r output. Fixes: cbc990308c2e ("valgrind: 3.20.0 -> 3.21.0")
-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 bd56eb539e0..a43520ecb4b 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 }' \ |