diff options
author | Steven Keuchel <steven.keuchel@gmail.com> | 2022-12-04 21:12:19 +0100 |
---|---|---|
committer | Steven Keuchel <steven.keuchel@gmail.com> | 2022-12-04 21:12:19 +0100 |
commit | d911353cf8af68ca67f24fe193a6bcdfe12d598f (patch) | |
tree | a94e213349b018bc2688b7889e7e7f90a4af72ad /pkgs/tools/misc/mbuffer | |
parent | 4eebb348553be4622435ccb40da66c3139e7a9d1 (diff) |
mbuffer: fix cross compilation
Diffstat (limited to 'pkgs/tools/misc/mbuffer')
-rw-r--r-- | pkgs/tools/misc/mbuffer/default.nix | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/tools/misc/mbuffer/default.nix b/pkgs/tools/misc/mbuffer/default.nix index f01a0c6d4d546..c7f14cf6a5823 100644 --- a/pkgs/tools/misc/mbuffer/default.nix +++ b/pkgs/tools/misc/mbuffer/default.nix @@ -16,18 +16,11 @@ stdenv.mkDerivation rec { buildInputs = [ openssl + ]; + nativeBuildInputs = [ which ]; - # The mbuffer configure scripts fails to recognize the correct - # objdump binary during cross-building for foreign platforms. - # The correct objdump is exposed via the environment variable - # $OBJDUMP, which should be used in such cases. - preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' - substituteInPlace configure \ - --replace "OBJDUMP=$ac_cv_path_OBJDUMP" 'OBJDUMP=''${OBJDUMP}' - ''; - doCheck = true; meta = with lib; { |