mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
diffutils: fix cross (#402249)
This commit is contained in:
@@ -51,7 +51,10 @@ stdenv.mkDerivation rec {
|
||||
# "pr" need not be on the PATH as a run-time dep, so we need to tell
|
||||
# configure where it is. Covers the cross and native case alike.
|
||||
lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
|
||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
|
||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"gl_cv_func_getopt_gnu=yes"
|
||||
"gl_cv_func_strcasecmp_works=yes"
|
||||
];
|
||||
|
||||
# Test failure on QEMU only (#300550)
|
||||
doCheck = !stdenv.buildPlatform.isRiscV64;
|
||||
|
||||
Reference in New Issue
Block a user