binutils-unwrapped-all-targets: init at 2.38
It's not exactly a new package: binutils has been exposing `withAllTargets = true;` knob for a while. To give it more official status let's expose it as an `binutils-unwrapped-all-targets` attribute. Note that `binutils-unwrapped.override { withAllTargets = true; }` does not work due to recursive definition of binutils. Closes: https://github.com/NixOS/nixpkgs/issues/82792
This commit is contained in:
parent
ae979da6b8
commit
65c02f8b4c
1 changed files with 6 additions and 0 deletions
|
@ -14561,6 +14561,12 @@ with pkgs;
|
|||
# FHS sys dirs presumably only have stuff for the build platform
|
||||
noSysDirs = (stdenv.targetPlatform != stdenv.hostPlatform) || noSysDirs;
|
||||
};
|
||||
binutils-unwrapped-all-targets = callPackage ../development/tools/misc/binutils {
|
||||
autoreconfHook = if targetPlatform.isiOS then autoreconfHook269 else autoreconfHook;
|
||||
# FHS sys dirs presumably only have stuff for the build platform
|
||||
noSysDirs = (stdenv.targetPlatform != stdenv.hostPlatform) || noSysDirs;
|
||||
withAllTargets = true;
|
||||
};
|
||||
binutils = wrapBintoolsWith {
|
||||
bintools = binutils-unwrapped;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue