makeBinaryWrapper: remove cc from deps

Fixes https://github.com/NixOS/nixpkgs/issues/172249
This commit is contained in:
Naïm Favier 2022-05-10 16:08:46 +02:00
parent 81b9c712ce
commit 8b79ef2cb6
No known key found for this signature in database
GPG Key ID: 49B07322580B7EE2

View File

@ -1,5 +1,6 @@
{ stdenv
, lib
, darwin
, makeSetupHook
, dieHook
, tests
@ -8,7 +9,9 @@
}:
makeSetupHook {
deps = [ dieHook cc ];
deps = [ dieHook ]
# https://github.com/NixOS/nixpkgs/issues/148189
++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) darwin.cctools;
substitutions = {
cc = let