strojnadzor/shell.nix
2020-03-10 21:45:02 +01:00

18 lines
373 B
Nix

{ sources ? import ./nix/sources.nix }:
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 = ''
'';
preferLocalBuild = true;
}