add shell.nix

I wanted to have the latest poetry to work on the tests
This commit is contained in:
zimbatm 2019-12-11 13:12:38 +01:00
parent df82c7d72c
commit a051e38eef
No known key found for this signature in database
GPG key ID: 71BAF6D40C1D63D7

10
shell.nix Normal file
View file

@ -0,0 +1,10 @@
let
pkgs = import (fetchTarball { url = "channel:nixpkgs-unstable"; }) {};
poetry2nix = import ./. { inherit pkgs; inherit poetry; };
poetry = pkgs.callPackage ./pkgs/poetry { python = pkgs.python3; inherit poetry2nix; };
in
pkgs.mkShell {
buildInputs = [
poetry
];
}