Skip to content

Commit

Permalink
get working psi4 python enviornment
Browse files Browse the repository at this point in the history
  • Loading branch information
ALescoulie committed Jun 13, 2024
1 parent dc33e10 commit 4a0cad9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,22 @@
# });
#};

devEnv = pkgs.poetry2nix.mkPoetryEnv {
poetryEnv = pkgs.poetry2nix.mkPoetryEnv {
projectDir = ./.;
#extraPackages = (ps: [ pkgs.qchem.psi4 pkgs.qchem.openmm ]);
python = python;
overrides = [ p2n-overrides unfuckScipy unfuckNumpy ]; #unfuckScipy ];
};

devEnv = pkgs.mkShell {
propagatedBuildInputs = [ poetryEnv];
buildInputs = with pkgs; [pkgs.qchem.psi4 pkgs.qchem.openmm ];
};

# DON'T FORGET TO PUT YOUR PACKAGE NAME HERE, REMOVING `throw`
packageName = "MD-SAPT";

in {
devShells.default = devEnv.env;
devShells.default = devEnv;
});
}

0 comments on commit 4a0cad9

Please sign in to comment.