This commit is contained in:
Las Safin 2021-08-29 19:16:28 +00:00
parent 7661abe6e1
commit 7bab1feec5
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
4 changed files with 21 additions and 24 deletions

View File

@ -37,9 +37,13 @@
# not generic: solstice lefdef equinox knik coloquinte bootstrap
components = [
"vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore"
"cumulus" "flute" "etesian" "anabatic" "coloquinte"
pythonComponents = [
"vlsisapd" "hurricane" "crlcore" "flute"
];
components = pythonComponents ++ [
"lefdef" "bootstrap"
"cumulus" "etesian" "anabatic" "coloquinte"
"katana" "bora" "equinox" "knik" "katabatic" "ispd"
"karakaze" "kite" "nimbus" "metis" "mauka" "oroshi"
"solstice" "stratus1" "tutorial" "unicorn" "documentation"
@ -70,7 +74,7 @@
let
pkgs = nixpkgsFor.${system};
env = pkgs.python2.buildEnv.override {
extraLibs = builtins.map (x: pkgs.${"coriolis-${x}"}) [ "vlsisapd" "hurricane" "crlcore" ];
extraLibs = builtins.map (x: pkgs.${"coriolis-${x}"}) pythonComponents;
};
in env.env
);

View File

@ -1,4 +1,4 @@
{ version, meta, generic, ... }:
{ generic, ... }:
let pkg =
{ libxml2, qt4, bison, flex, doxygen, coriolis-vlsisapd
, coriolis-lefdef, coriolis-hurricane }:

View File

@ -1,18 +1,11 @@
{ version, meta }:
{ lib, stdenv, cmake, ninja, python2, boost
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore }:
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
stdenv.mkDerivation {
pname = "coriolis-flute";
src = ../flute;
buildInputs = [ python2 boostWithPython coriolis-bootstrap coriolis-vlsisapd coriolis-hurricane coriolis-crlcore ];
nativeBuildInputs = [ cmake ninja ];
inherit version meta;
}
{ generic, ... }:
let pkg =
{ coriolis-vlsisapd, coriolis-hurricane, coriolis-crlcore }:
{
name = "flute";
src = ../flute;
buildInputs = [ coriolis-vlsisapd coriolis-hurricane coriolis-crlcore ];
nativeBuildInputs = [ ];
pythonImportsCheck = [ "Flute" ];
};
in generic pkg

View File

@ -1,4 +1,4 @@
{ version, meta, generic, ... }:
{ generic, ... }:
let pkg =
{ libxml2, qt4, bison, flex, doxygen }:
{