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