two_qubit_model/flake.nix

29 lines
973 B
Nix
Raw Normal View History

2022-02-17 16:53:02 +01:00
{
description = "Operators for a general model of two interacting qubits coupled to two baths.";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
utils.url = "github:vale981/hiro-flake-utils";
2022-11-24 21:13:43 +01:00
poetry2nix.url = "github:nix-community/poetry2nix";
utils.inputs.poetry.follows = "poetry2nix";
2022-07-20 15:04:01 +02:00
utils.inputs.nixpkgs.follows = "nixpkgs";
2022-02-17 16:53:02 +01:00
};
outputs = { self, utils, nixpkgs, ... }:
(utils.lib.poetry2nixWrapper nixpkgs {
name = "two_qubit_model";
shellPackages = pkgs: with pkgs; [ black pyright ];
2022-11-28 19:30:16 +01:00
python = pkgs: pkgs.python39Full;
2022-07-20 15:04:01 +02:00
# shellOverride = (oldAttrs: {
# shellHook = ''
# export PYTHONPATH=/home/hiro/src/hops/:$PYTHONPATH
# export PYTHONPATH=/home/hiro/src/hopsflow/:$PYTHONPATH
# export PYTHONPATH=/home/hiro/src/stocproc/:$PYTHONPATH
# '';
# });
2022-02-17 16:53:02 +01:00
poetryArgs = {
projectDir = ./.;
};
});
}