clan-core/pkgs/clan-cli/shell.nix

30 lines
397 B
Nix
Raw Normal View History

2024-03-17 18:48:49 +00:00
{
nix-unit,
clan-cli,
mkShell,
ruff,
python3,
}:
let
devshellTestDeps =
clan-cli.passthru.testDependencies
++ (with python3.pkgs; [
rope
setuptools
wheel
pip
]);
in
mkShell {
buildInputs = [
nix-unit
ruff
] ++ devshellTestDeps;
2023-09-15 11:44:47 +00:00
shellHook = ''
export PATH=$(pwd)/bin:$PATH
2023-10-23 20:34:43 +00:00
2023-11-23 14:07:08 +00:00
ln -sfT ${clan-cli.nixpkgs} clan_cli/nixpkgs
'';
}