From 4a0cad998eb9ea18c9989a93ed040f36110329c3 Mon Sep 17 00:00:00 2001 From: Alia Lescoulie Date: Wed, 12 Jun 2024 20:32:44 -0700 Subject: [PATCH] get working psi4 python enviornment --- flake.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index c1df4fe..8a8a2b5 100644 --- a/flake.nix +++ b/flake.nix @@ -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; }); }