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:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user