diff options
| author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-07-09 15:12:32 -0400 |
|---|---|---|
| committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-08-24 11:31:56 -0400 |
| commit | 791ce593ce065cf074edf1509ff52ebc69136d9e (patch) | |
| tree | 58c0622619eedfbbfcbe82a9180378de4f651f0b /pkgs/development/python-modules/httpserver | |
| parent | 9884a3b17a817b4b5aee2ce01a10a08f98653a62 (diff) | |
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.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
