master-thesis/python/flake.nix
2021-12-11 21:34:55 +01:00

25 lines
707 B
Nix

{
description = "Calculating open system bath energy changes with HOPS and analytically.";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:vale981/hiro-flake-utils";
};
outputs = { self, utils, nixpkgs, ... }:
(utils.lib.poetry2nixWrapper nixpkgs {
name = "master";
#noPackage = true;
shellPackages = pkgs: with pkgs; [ black pyright sshfs sage python3Packages.jupyter ];
shellOverride = (oldAttrs: {
shellHook = ''
echo "HI"
export PYTHONPATH=$PYTHONPATH:$(realpath ./energy_flow_proper)
'';
});
poetryArgs = {
projectDir = ./.;
};
});
}