1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/stdenv
John Ericson adaa110a72 binutils: No more darwin conditionals
Since at least d7bddc27b2, we've had a
situation where one should depend on:

 - `stdenv.cc.bintools`: for executables at build time
 - `libbfd` or `libiberty`: for those libraries
 - `targetPackages.cc.bintools`: for exectuables at *run* time
 - `binutils`: only for specifically GNU Binutils's executables,
   regardless of the host platform, at run time.

and that commit cleaned up this usage to reflect that. This PR flips the
switch so that:

 - `binutils` is indeed unconditionally GNU Binutils
 - `binutils-raw`, which previously served that role, is gone.

so that the correct usage will be enforced going forward and everything
is simple.

N.B. In a few cases `binutils-unwrapped` (which before and now was
unconditionally actual GNU binutils), rather than `binutils` was used to
replace old `binutils-raw` as it is friendly towards some cross
compilation usage by avoiding a reference to the next bootstrapping
change.
2018-04-03 13:34:52 -04:00
..
cross cross stdenv: Make depsBuildBuild overrideable by config too. 2018-03-20 15:58:09 -04:00
custom top-level: {build,host,target}Platform are defined in the stdenv instead 2017-07-07 12:55:02 -04:00
cygwin cygwin: rebase fixes 2017-06-26 09:26:10 -03:00
darwin binutils: No more darwin conditionals 2018-04-03 13:34:52 -04:00
freebsd fetchurl: cleanup, better errors 2018-02-18 14:24:53 +00:00
generic meta: Simplify platform check logic 2018-03-27 11:59:59 -04:00
linux binutils: No more darwin conditionals 2018-04-03 13:34:52 -04:00
native fetchurl: cleanup, better errors 2018-02-18 14:24:53 +00:00
nix cc-wrapper: Use stdenvNoCC to build 2017-09-26 14:08:21 -04:00
adapters.nix Merge pull request #36401 from obsidiansystems/no-stdenv-cross-adapter 2018-03-06 20:17:13 -05:00
booter.nix treewide: Depend on targetPackages.stdenv.cc.bintools instead of binutils directly 2017-11-05 17:10:53 -05:00
common-path.nix
default.nix lib, treewide: Add missing MIPS arches, and fix existing usage 2018-02-23 20:43:42 -05:00