summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2021-12-06 19:38:34 +0100
committerJörg Thalheim <joerg@thalheim.io>2021-12-06 19:41:32 +0100
commit2a2377f40e0ff7e5df995b7aeb7ac611298c572d (patch)
tree937380745818c4ee018af19cbbecc8d51a28898a
parentc7fa870f5ad2697209e40cd39b4f7e580da17a83 (diff)
downloadnixpkgs-2a2377f40e0ff7e5df995b7aeb7ac611298c572d.tar
nixpkgs-2a2377f40e0ff7e5df995b7aeb7ac611298c572d.tar.gz
nixpkgs-2a2377f40e0ff7e5df995b7aeb7ac611298c572d.tar.bz2
nixpkgs-2a2377f40e0ff7e5df995b7aeb7ac611298c572d.tar.lz
nixpkgs-2a2377f40e0ff7e5df995b7aeb7ac611298c572d.tar.xz
nixpkgs-2a2377f40e0ff7e5df995b7aeb7ac611298c572d.tar.zst
nixpkgs-2a2377f40e0ff7e5df995b7aeb7ac611298c572d.zip
libunwind: use native `true` executable for build
-rw-r--r--pkgs/development/libraries/libunwind/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libunwind/default.nix b/pkgs/development/libraries/libunwind/default.nix
index 643752da1dc..1f47338c2a6 100644
--- a/pkgs/development/libraries/libunwind/default.nix
+++ b/pkgs/development/libraries/libunwind/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, fetchpatch, autoreconfHook, xz, coreutils }:
+{ stdenv, lib, fetchurl, fetchpatch, autoreconfHook, xz, buildPackages }:
 
 stdenv.mkDerivation rec {
   pname = "libunwind";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
 
   # Without latex2man, no man pages are installed despite being
   # prebuilt in the source tarball.
-  configureFlags = [ "LATEX2MAN=${coreutils}/bin/true" ];
+  configureFlags = [ "LATEX2MAN=${buildPackages.coreutils}/bin/true" ];
 
   propagatedBuildInputs = [ xz ];