15 lines
386 B
Nix
15 lines
386 B
Nix
{ clan-vm-manager, clan-cli, mkShell, ruff, python3 }:
|
|
let
|
|
pythonWithDeps = python3.withPackages (ps: clan-vm-manager.propagatedBuildInputs);
|
|
in
|
|
mkShell {
|
|
buildInputs = [ pythonWithDeps ] ++ clan-vm-manager.buildInputs;
|
|
nativeBuildInputs = [
|
|
ruff
|
|
] ++ clan-vm-manager.nativeBuildInputs;
|
|
|
|
shellHook = ''
|
|
ln -sfT ${clan-cli.nixpkgs} ../clan-cli/clan_cli/nixpkgs
|
|
'';
|
|
}
|