This commit is contained in:
Las Safin 2021-08-26 16:23:26 +00:00
parent 9aa450e8af
commit 83eb8b4a6b
No known key found for this signature in database
GPG Key ID: E7FA928911B61ED6
2 changed files with 27 additions and 1 deletions

View File

@ -80,7 +80,7 @@
platforms = platforms.all; platforms = platforms.all;
}; };
components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" ]; components = [ "vlsisapd" "lefdef" "bootstrap" "hurricane" "crlcore" "cumulus" ];
in in

26
nix/cumulus.nix Normal file
View File

@ -0,0 +1,26 @@
{ version, meta }:
{ lib, stdenv, cmake, ninja, python2
, coriolis-bootstrap, coriolis-vlsisapd, coriolis-hurricane
, coriolis-crlcore }:
stdenv.mkDerivation {
pname = "coriolis-cumulus";
src = ../cumulus;
cmakeFlags = [
(
"-DCMAKE_MODULE_PATH="
+ "${coriolis-bootstrap}/share/cmake/Modules"
+ ";${coriolis-vlsisapd}/share/cmake/Modules"
+ ";${coriolis-hurricane}/share/cmake/Modules"
+ ";${coriolis-crlcore}/share/cmake/Modules"
)
];
buildInputs = [ python2 coriolis-bootstrap coriolis-vlsisapd coriolis-hurricane coriolis-crlcore ];
nativeBuildInputs = [ cmake ninja ];
inherit version meta;
}