diff options
Share boltzgen version between expressions
Diffstat (limited to 'lid_driven_cavity/opencl')
-rw-r--r-- | lid_driven_cavity/opencl/shell.nix | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/lid_driven_cavity/opencl/shell.nix b/lid_driven_cavity/opencl/shell.nix index de9d59f..4187983 100644 --- a/lid_driven_cavity/opencl/shell.nix +++ b/lid_driven_cavity/opencl/shell.nix @@ -5,23 +5,7 @@ pkgs.stdenvNoCC.mkDerivation rec { env = pkgs.buildEnv { name = name; paths = buildInputs; }; buildInputs = let - boltzgen = pkgs.python3.pkgs.buildPythonPackage rec { - pname = "boltzgen"; - version = "0.1"; - - src = builtins.fetchGit { - url = "https://code.kummerlaender.eu/boltzgen/"; - rev = "4a2885ad3ae0396486d288df94339d0c45e6db8b"; - }; - - propagatedBuildInputs = with pkgs.python37Packages; [ - sympy - numpy - Mako - ]; - - doCheck = false; - }; + boltzgen = (import ../../boltzgen.nix { }).boltzgen pkgs.python3; local-python = pkgs.python3.withPackages (python-packages: with python-packages; [ boltzgen |