nixpkgs/pkgs
Tuomas Tynkkynen ce56c99edc mkDerivation: Don't pass buildInputs to stdenv builder in nativeBuildInputs
When not cross compiling, nativeBuildInputs and buildInputs have
identical behaviour. Currently that is implemented by having
mkDerivation do a concatenation of those variables in Nix code and pass
that to the builder via the nativeBuildInputs attribute.

However, that has some annoying side effects, like `foo.buildInputs`
evaluating to `[ ]` even if buildInputs were specified in the nix
expression for foo.

Instead, pass buildInputs and nativeBuildInputs in separate variables as
usual, and move the logic of cross compilation vs. native compilation to
the stdenv builder script. This is probably a tiny bit uglier but
fixes the previous problem.

Issue #4855.
2017-03-02 03:26:48 +02:00
..
applications ark: Make free by default 2017-02-27 11:51:33 -06:00
build-support Merge branch 'master' into staging 2017-02-27 20:15:27 +01:00
common-updater maintainers: Add script to patch version/sha256 in .nix files 2017-02-19 16:51:17 +02:00
data iana-etc: fixed source URL and homepage (#23167) 2017-02-25 13:58:32 +01:00
desktops plasma5: 5.8.5 -> 5.8.6 2017-02-27 11:50:10 -06:00
development qt5.qttools: fix path to qhelpgenerator 2017-02-28 16:48:44 +01:00
games warmux: fix build 2017-02-27 13:39:11 +01:00
misc Merge pull request #23206 from yurrriq/add/pkgs/misc/lilypond/unstable 2017-02-27 08:29:12 +01:00
os-specific Merge branch 'master' into staging 2017-02-27 20:15:27 +01:00
servers xorg.libX11: 1.6.4 -> 1.6.5 2017-02-27 20:33:53 +01:00
shells oh-my-zsh: 2017-01-15 -> 2017-02-20 2017-02-21 19:07:59 -05:00
stdenv mkDerivation: Don't pass buildInputs to stdenv builder in nativeBuildInputs 2017-03-02 03:26:48 +02:00
test
tools ploticus: fixup a manual-page symlink 2017-03-01 08:42:35 +01:00
top-level Merge branch 'master' into staging 2017-02-27 20:15:27 +01:00