2014-07-01 17:21:32 +02:00
|
|
|
{ stdenv, pkgs, config, lib }:
|
2004-03-11 18:26:14 +01:00
|
|
|
|
2012-01-19 19:25:35 +01:00
|
|
|
import ../generic rec {
|
2012-12-28 16:36:09 +01:00
|
|
|
inherit config;
|
|
|
|
|
2012-01-19 16:56:17 +01:00
|
|
|
preHook =
|
|
|
|
''
|
|
|
|
export NIX_ENFORCE_PURITY=1
|
|
|
|
export NIX_IGNORE_LD_THROUGH_GCC=1
|
2014-07-01 17:21:32 +02:00
|
|
|
'';
|
2012-01-19 16:56:17 +01:00
|
|
|
|
2006-07-14 10:35:59 +02:00
|
|
|
initialPath = (import ../common-path.nix) {pkgs = pkgs;};
|
2004-03-11 18:26:14 +01:00
|
|
|
|
2009-02-02 16:03:38 +01:00
|
|
|
system = stdenv.system;
|
2004-03-11 18:26:14 +01:00
|
|
|
|
2015-01-09 20:22:12 +01:00
|
|
|
cc = import ../../build-support/cc-wrapper {
|
2004-03-11 18:26:14 +01:00
|
|
|
nativeTools = false;
|
2013-02-23 14:59:59 +01:00
|
|
|
nativePrefix = stdenv.lib.optionalString stdenv.isSunOS "/usr";
|
2006-10-24 20:26:23 +02:00
|
|
|
nativeLibc = true;
|
2004-03-11 18:26:14 +01:00
|
|
|
inherit stdenv;
|
2014-11-04 13:26:51 +01:00
|
|
|
binutils = pkgs.binutils;
|
2015-01-09 20:22:12 +01:00
|
|
|
cc = pkgs.gcc.cc;
|
2009-11-20 17:56:11 +01:00
|
|
|
coreutils = pkgs.coreutils;
|
2006-10-17 16:06:18 +02:00
|
|
|
shell = pkgs.bash + "/bin/sh";
|
2004-03-11 18:26:14 +01:00
|
|
|
};
|
|
|
|
|
2006-10-17 16:06:18 +02:00
|
|
|
shell = pkgs.bash + "/bin/sh";
|
2006-05-31 17:08:25 +02:00
|
|
|
|
2008-06-18 17:09:13 +02:00
|
|
|
fetchurlBoot = stdenv.fetchurlBoot;
|
2012-01-19 19:25:35 +01:00
|
|
|
|
|
|
|
overrides = pkgs_: {
|
2015-01-09 20:22:12 +01:00
|
|
|
inherit cc;
|
|
|
|
inherit (cc) binutils;
|
2012-12-28 16:41:56 +01:00
|
|
|
inherit (pkgs)
|
2012-01-19 19:25:35 +01:00
|
|
|
gzip bzip2 xz bash coreutils diffutils findutils gawk
|
|
|
|
gnumake gnused gnutar gnugrep gnupatch perl;
|
|
|
|
};
|
2003-11-03 11:22:00 +01:00
|
|
|
}
|