1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs
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
..
applications Updating from trunk. 2009-11-13 19:19:34 +00:00
build-support Adding generic builder management of cross compilation: envHooksHost, pkgsHost, ... 2009-11-18 18:16:35 +00:00
configs/etc
data pkgs/data/sgml+xml/schemas/xml-dtd/docbook/4.5.nix: added docbook 4.5 XML DTD 2009-11-03 15:57:27 +00:00
desktops Fix gnome-doc-utils 2009-11-07 09:34:12 +00:00
development - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining 2009-11-19 19:03:34 +00:00
games Fixing the neverball expression: it relied on having a /homeless-shelter 2009-11-08 22:35:19 +00:00
lib Add systems.nix give more control over the increasing list of supported 2009-11-19 17:19:39 +00:00
misc - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining 2009-11-19 19:03:34 +00:00
os-specific Making the definition of the cross compiling target an attribute set. 2009-11-16 23:21:13 +00:00
servers Upgraded JBoss to 5.1.0 2009-11-11 15:52:26 +00:00
shells Porting changes from stdenv-updates into this branch. 2009-11-08 00:32:12 +00:00
stdenv - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining 2009-11-19 19:03:34 +00:00
test Add a new way to handle option sets. 2008-08-05 17:16:35 +00:00
tools Updating from trunk. 2009-11-13 19:19:34 +00:00
top-level - Removed all *NoCross expressions I dupilcated in nixpkgs, while maintaining 2009-11-19 19:03:34 +00:00