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