Make vlsisapd accessible through Python!
This commit is contained in:
parent
e1975b45ea
commit
7105a5aea4
10
flake.nix
10
flake.nix
|
@ -58,7 +58,15 @@
|
|||
}) {} components);
|
||||
|
||||
defaultPackage = forAllSystems (system: self.packages.${system}.unicorn);
|
||||
devShell = defaultPackage;
|
||||
|
||||
devShell = forAllSystems (system:
|
||||
let
|
||||
pkgs = nixpkgsFor.${system};
|
||||
env = pkgs.python2.buildEnv.override {
|
||||
extraLibs = [ pkgs.coriolis-vlsisapd ];
|
||||
};
|
||||
in env.env
|
||||
);
|
||||
|
||||
#hydraJobs.coriolis = self.defaultPackage;
|
||||
};
|
||||
|
|
|
@ -1,17 +1,18 @@
|
|||
{ version, meta }:
|
||||
|
||||
{ lib, stdenv, python2, cmake, boost, bison, flex
|
||||
, libxml2, qt4, ninja, coriolis-bootstrap, doxygen }:
|
||||
{ lib, stdenv, cmake, boost, bison, flex
|
||||
, libxml2, qt4, ninja, coriolis-bootstrap, doxygen
|
||||
, python2Packages }:
|
||||
|
||||
let boostWithPython = boost.override { enablePython = true; python = python2; }; in
|
||||
let boostWithPython = boost.override { enablePython = true; inherit (python2Packages) python; }; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
python2Packages.toPythonModule (stdenv.mkDerivation {
|
||||
pname = "coriolis-vlsisapd";
|
||||
|
||||
src = ../vlsisapd;
|
||||
|
||||
buildInputs = [ python2 boostWithPython coriolis-bootstrap libxml2 bison flex qt4 ];
|
||||
buildInputs = [ python2Packages.python boostWithPython coriolis-bootstrap libxml2 bison flex qt4 ];
|
||||
nativeBuildInputs = [ cmake ninja doxygen ];
|
||||
|
||||
inherit version meta;
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue