2016-04-27 08:09:12 -07:00
|
|
|
{ system, bootStdenv, crossSystem, config, platform, lib, nixpkgsFun }:
|
2016-03-20 08:14:57 -07:00
|
|
|
|
|
|
|
rec {
|
|
|
|
allStdenvs = import ../stdenv {
|
2016-11-06 21:27:38 -08:00
|
|
|
inherit system platform config crossSystem lib;
|
|
|
|
allPackages = nixpkgsFun;
|
2016-03-20 08:14:57 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
defaultStdenv = allStdenvs.stdenv // { inherit platform; };
|
|
|
|
|
|
|
|
stdenv =
|
2016-04-27 09:09:27 -07:00
|
|
|
if bootStdenv != null
|
|
|
|
then (bootStdenv // { inherit platform; })
|
|
|
|
else defaultStdenv;
|
2016-03-20 08:14:57 -07:00
|
|
|
}
|