nixpkgs/pkgs/stdenv/generic
Lluís Batlle i Rossell 7ade207f6b - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining
the cross compilation functionality.
- I renamed some expected stdenv.mkDerivation parameter attributes so we can
  keep this branch properly updated from trunk. We agreed with Nicolas Pierron
  doing a massive renaming, so all current buildInputs become hostInputs (input
  as build for the host machine, in autotools terminology) , and
  then buildInputs would mean "input as for the build machine".
  By now, the specific "input as for the build machine" is specified through
  buildNativeInputs. We should fix this in the merge to trunk.
- I made the generic stdenv understand the buildNativeInputs, otherwise if
  we start changing nixpkgs expressions so they distinguish the current
  buildInputs into buildInputs and buildNativeInputs, we could break even more
  nixpkgs for other platforms.
- I changed the default result of mkDerivation so it becomes the derivation for
  to be run in the build machine. This allows, without any special rewriting,
  "fetchurl" derivations to be always results for the build machine to use
  them.
- The change above implies that, for anyone wanting to cross-compile, has to
  build the hostDrv of the wanted derivation. For example, after this commit,
  the usual test of "nix-build -A bison.hostDrv arm.nix" works. I described
  the contents of this arm.nix in r18398.


svn path=/nixpkgs/branches/stdenv-updates/; revision=18471
2009-11-19 19:03:34 +00:00
..
builder.sh * Allow the user to install stdenv (nix-env -i stdenv) and get all the 2009-04-25 14:08:29 +00:00
default-builder.sh * "." -> "source". 2005-12-05 14:11:09 +00:00
default.nix - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining 2009-11-19 19:03:34 +00:00
docs.txt * The `patch' command is now part of stdenv, so it no longer needs to 2004-09-18 17:23:18 +00:00
setup.sh * Add file support in the runHook function. 2009-11-19 17:19:32 +00:00