2022-02-04 20:47:01 +00:00
|
|
|
{
|
|
|
|
pkgs ? import <nixpkgs> {},
|
|
|
|
python ? pkgs.python39
|
|
|
|
}:
|
|
|
|
let
|
|
|
|
settings = import ./default.nix {inherit pkgs python;};
|
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
|
|
# nativeBuildInputs is usually what you want -- tools you need to run
|
2022-02-04 21:37:09 +00:00
|
|
|
nativeBuildInputs = settings.nativeBuildInputs ++ settings.testBuildInputs ++ [ pkgs.nodePackages.npm pkgs.nodejs ];
|
2022-02-04 20:47:01 +00:00
|
|
|
}
|
|
|
|
|