nixpkgs/pkgs/stdenv
John Ericson 75441dd64a Merge pull request #25194 from obsidiansystems/host-target-unconfuse
stdenv.cross is a silly attribute that needs to go leaving the well-defined hostPlatform and targetPlatform. This PR doesn't remove it, but changes its definition: before it tracked the target platform which is sometimes more useful for compilers, and now it tracks the host platform which is more useful for everything else. Most usages are libraries, falling in the "everything else" category, so changing the definition makes sense to appease the majority. The few compiler (gcc in particular) uses that exist I remove to use targetPlatform --- preserving correctness and becoming more explicit in the process.

I would also update the documentation aside mentioning stdenv.cross as deprecated, but the definition given actually erroneously assumes this PR is already merged!
2017-04-24 19:07:48 -04:00
..
cross cross-stdenv: Only prune most overrides in the final stage 2017-04-24 16:31:53 -04:00
custom top-level: Lay the groundwork for {build,host,target}Platform 2017-01-24 11:37:56 -05:00
cygwin Allow not rebasing in cygwin stdenv. 2016-05-20 17:17:10 +02:00
darwin cross-stdenv: Only prune most overrides in the final stage 2017-04-24 16:31:53 -04:00
freebsd top-level: Lay the groundwork for {build,host,target}Platform 2017-01-24 11:37:56 -05:00
generic mkDerivation: Don't pass buildInputs to stdenv builder in nativeBuildInputs 2017-03-02 03:26:48 +02:00
linux cross-stdenv: Only prune most overrides in the final stage 2017-04-24 16:31:53 -04:00
native top-level: Lay the groundwork for {build,host,target}Platform 2017-01-24 11:37:56 -05:00
nix top-level: Lay the groundwork for {build,host,target}Platform 2017-01-24 11:37:56 -05:00
adapters.nix cross-stdenv: Only prune most overrides in the final stage 2017-04-24 16:31:53 -04:00
booter.nix top-level: Introduce targetPackages and a "double link fold" 2017-04-23 14:01:12 -04:00
common-path.nix bzip2: split into multiple outputs, refactor 2015-04-18 19:32:52 +02:00
default.nix stdenv: Bringup aarch64 architecture support 2017-01-25 00:01:51 +02:00