master-thesis/python/flake.nix

27 lines
739 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 python3Packages.numba ];
shellOverride = (oldAttrs: {
# shellHook = ''
# echo "HI"
# export PYTHONPATH=$PYTHONPATH:$(realpath ./energy_flow_proper)
# '';
});
poetryArgs = {
projectDir = ./.;
};
});
}