16 lines
317 B
Nix
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;
|
|
}
|