bonfire/devShells/netgen.nix

16 lines
339 B
Nix
Raw Normal View History

2023-12-19 12:36:54 +05:00
{ pkgs, bpkgs, ... }:
let
python = pkgs.python3.withPackages(ps: []);
in pkgs.mkShellNoCC {
packages = with pkgs; [
bpkgs.netgen
python
];
shellHook = ''
export PYTHONPATH="${python}/${python.sitePackages}"
export PYTHONPATH="$PYTHONPATH:${bpkgs.netgen}/${python.sitePackages}"
'';
}