clan-cli: use dependency flake instead of registry

This commit is contained in:
DavHau
2023-09-06 14:40:00 +02:00
parent c9bfd0a5b5
commit fcbc3ec899
6 changed files with 38 additions and 34 deletions

View File

@@ -25,14 +25,14 @@ mkShell {
PYTHONPATH = "${pythonWithDeps}/${pythonWithDeps.sitePackages}";
shellHook = ''
tmp_path=$(realpath ./.direnv)
rm -f clan_cli/nixpkgs clan_cli/assets
ln -sf ${clan-cli.nixpkgs} clan_cli/nixpkgs
ln -sf ${clan-cli.depsFlake} clan_cli/deps_flake
ln -sf ${ui-assets} clan_cli/webui/assets
export PATH="$tmp_path/bin:${checkScript}/bin:$PATH"
export PYTHONPATH="$PYTHONPATH:$(pwd)"
export XDG_DATA_DIRS="$tmp_path/share''${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}"
export fish_complete_path="$tmp_path/share/fish/vendor_completions.d''${fish_complete_path:+:$fish_complete_path}"
mkdir -p \