HOPSFlow-Paper/python/otto_motor/flake.nix

42 lines
1.3 KiB
Nix
Raw Normal View History

2022-11-30 18:24:23 -05:00
{
description = "Testing out the one bath case with time dependent coupling and two baths.";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:vale981/hiro-flake-utils";
utils.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, utils, nixpkgs, ... }:
(utils.lib.poetry2nixWrapper nixpkgs {
name = "09_dynamic_two_bath_one_qubit";
shellPackages = (pkgs:
(with pkgs;
2022-12-12 18:40:27 -05:00
[
pyright
python39Packages.jupyter
sshfs
arb
(pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-medium
type1cm unicode-math;
})
]));
2022-11-30 18:24:23 -05:00
python = pkgs: pkgs.python39Full;
shellOverride = (pkgs: oldAttrs: {
shellHook = ''
2023-05-11 14:02:18 -04:00
# export PYTHONPATH=/home/hiro/src/stocproc/:$PYTHONPATH
2023-05-25 11:12:03 -04:00
export PYTHONPATH=/home/hiro/src/two_qubit_model/:$PYTHONPATH
2023-05-11 14:02:18 -04:00
# export PYTHONPATH=/home/hiro/src/hops/:$PYTHONPATH
# export PYTHONPATH=/home/hiro/src/hopsflow/:$PYTHONPATH
2022-12-12 18:40:27 -05:00
export LD_LIBRARY_PATH="${(pkgs.lib.makeLibraryPath [pkgs.arb])}"
# '';
2022-11-30 18:24:23 -05:00
});
noPackage = true;
poetryArgs = {
projectDir = ./.;
};
});
}