13 lines
357 B
Nix
13 lines
357 B
Nix
{
|
|
pkgs ? import <nixpkgs> {},
|
|
python ? pkgs.python310
|
|
}:
|
|
let
|
|
settings = import ./default.nix {inherit pkgs python;};
|
|
in
|
|
pkgs.mkShell {
|
|
# nativeBuildInputs is usually what you want -- tools you need to run
|
|
nativeBuildInputs = settings.nativeBuildInputs ++ settings.testBuildInputs ++ [ pkgs.nodePackages.npm pkgs.nodejs python.pkgs.build ];
|
|
}
|
|
|