3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific
John Ericson 791ce593ce linux-headers: Improve derivation, removing cross arg
- Perl is used at build time, so must be in `nativeBuildInputs`. It's
   not used at run time so it should not be in `buildInputs`, too.

 - Don't treat headers like a compiler---use the build and host
   platforms not host and target. Perhaps that would make sense if every
   library's headers could be a separate derivation, but since that is
   not feasible, best to keep the implementation and interface in the
   same stage.

   To do this, we used `stdenvNoCC` to get rid of the normal toolchain,
   and added a dependency for the toolchain targeting the build platform
   --- `buildPackages.stdenv.cc` --- thus everything is effectively slid
   a stage black.
2017-08-24 11:31:56 -04:00
..
darwin ios cross cc-wrapper: Fail assertion to avoid breaking tarball job 2017-08-21 11:50:29 -04:00
gnu top-level: crossSystem is no longer exposed to packages. Use *Platform. 2017-01-24 11:37:56 -05:00
linux linux-headers: Improve derivation, removing cross arg 2017-08-24 11:31:56 -04:00
windows wxMSW: Fix syntax --- travis eval did not catch 2017-06-28 22:31:24 -04:00