strojnadzor/shell.nix
Andrey Golovizin 47066a7a95 Use niv
2020-02-08 11:59:03 +01:00

16 lines
317 B
Nix

{ sources ? import ./nix/sources.nix }:
let
pkgs = import sources.nixpkgs {};
python = import ./requirements.nix { inherit pkgs; };
in
pkgs.mkShell {
name = "strojnadzor-env";
buildInputs = [
pkgs.nodejs
python.interpreter
];
shellHook = ''
'';
preferLocalBuild = true;
}