Add combined
This commit is contained in:
parent
84640f3bc1
commit
1fddafc814
15
flake.nix
15
flake.nix
|
@ -66,6 +66,7 @@
|
|||
"equinox" "knik" "ispd" "karakaze" "nimbus"
|
||||
"metis" "mauka" "solstice" "stratus1"
|
||||
"documentation" "unittests" "alliance-check-toolkit"
|
||||
"combined"
|
||||
];
|
||||
|
||||
commonArgs = { inherit version meta generic; alliance-src = alliance-check-toolkit; };
|
||||
|
@ -82,9 +83,17 @@
|
|||
) {});
|
||||
}) {} components;
|
||||
|
||||
packages = forAllSystems (system: builtins.foldl' (acc: elem: acc // {
|
||||
${elem} = nixpkgsFor.${system}.${"coriolis-${elem}"};
|
||||
}) {} components);
|
||||
packages = forAllSystems (system:
|
||||
let pkgs = nixpkgsFor.${system}; in
|
||||
builtins.foldl' (acc: elem: acc // {
|
||||
${elem} = pkgs.${"coriolis-${elem}"};
|
||||
}) {} components
|
||||
// {
|
||||
test = pkgs.python2.buildEnv.override {
|
||||
extraLibs = [ pkgs.coriolis-unicorn pkgs.coriolis-cumulus ];
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.unicorn);
|
||||
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
{ version, meta, ... }:
|
||||
|
||||
{ buildEnv
|
||||
, coriolis-vlsisapd, coriolis-hurricane, coriolis-crlcore
|
||||
, coriolis-anabatic, coriolis-katana, coriolis-bora
|
||||
, coriolis-katabatic, coriolis-kite, coriolis-tutorial
|
||||
, coriolis-unicorn, coriolis-oroshi, coriolis-cumulus
|
||||
, coriolis-lefdef, coriolis-coloquinte, coriolis-flute
|
||||
, coriolis-equinox, coriolis-knik, coriolis-karakaze
|
||||
, coriolis-solstice, coriolis-stratus1, coriolis-etesian
|
||||
}:
|
||||
|
||||
buildEnv {
|
||||
name = "coriolis-combined-${version}";
|
||||
|
||||
paths = [
|
||||
coriolis-hurricane coriolis-crlcore coriolis-flute
|
||||
coriolis-etesian coriolis-anabatic coriolis-katana
|
||||
coriolis-bora coriolis-katabatic coriolis-kite
|
||||
coriolis-tutorial coriolis-unicorn coriolis-oroshi
|
||||
coriolis-cumulus coriolis-lefdef coriolis-vlsisapd
|
||||
coriolis-coloquinte coriolis-equinox coriolis-knik
|
||||
coriolis-karakaze coriolis-solstice coriolis-stratus1
|
||||
];
|
||||
|
||||
inherit meta;
|
||||
}
|
Loading…
Reference in New Issue