diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-11-15 16:48:36 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-11-15 16:48:36 +0000 |
commit | 307cbd7b3b24b1e41a1935329670c78f6677d2ed (patch) | |
tree | 648e04c10d93155ea40c1b6896cb7abe7ed7ea29 /pkgs/stdenv/generic/default.nix | |
parent | 2412034611e6a60780a0d322d521de7301263234 (diff) |
First attempt for the full stdenvCross. I think that it should work. The
toolchain for arm built. svn path=/nixpkgs/branches/stdenv-updates/; revision=18355
Diffstat (limited to 'pkgs/stdenv/generic/default.nix')
-rw-r--r-- | pkgs/stdenv/generic/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index de525d479f956..b1afe060b73a3 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -1,4 +1,5 @@ { system, name, preHook ? null, postHook ? null, initialPath, gcc, shell +, cross ? null , param1 ? "", param2 ? "", param3 ? "", param4 ? "", param5 ? "" , extraAttrs ? {} @@ -17,7 +18,7 @@ let result = derivation { - inherit system name; + inherit system cross name; builder = shell; @@ -52,6 +53,7 @@ let ["-e" (if attrs ? builder then attrs.builder else ./default-builder.sh)]; stdenv = result; system = result.system; + cross = result.cross; }) ) # The meta attribute is passed in the resulting attribute set, |