Add pypi2nix to shell.nix

This commit is contained in:
Andrey Golovizin 2020-03-10 21:45:02 +01:00
parent 7736537df2
commit 0a67324428
2 changed files with 14 additions and 0 deletions

View file

@ -2,12 +2,14 @@
let
pkgs = import sources.nixpkgs {};
pypi2nix = import sources.pypi2nix {};
python = import ./requirements.nix { inherit pkgs; };
in
pkgs.mkShell {
name = "strojnadzor-env";
buildInputs = [
pkgs.nodejs
pypi2nix
python.interpreter
];
shellHook = ''