Merge pull request #176597 from amjoseph-nixpkgs/pr/remove-redundant-file-buildInput

stdenv/cross: remove now-redundant `file` nativeBuildInput on mingw
This commit is contained in:
Artturi 2022-11-21 19:22:16 +02:00 committed by GitHub
commit df3056bfac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,9 +83,6 @@ in lib.init bootStages ++ [
(let f = p: !p.isx86 || builtins.elem p.libc [ "musl" "wasilibc" "relibc" ] || p.isiOS || p.isGenode;
in f hostPlatform && !(f buildPlatform) )
buildPackages.updateAutotoolsGnuConfigScriptsHook
# without proper `file` command, libtool sometimes fails
# to recognize 64-bit DLLs
++ lib.optional (hostPlatform.config == "x86_64-w64-mingw32") buildPackages.file
;
}));
})