fix uneccessary clan-cli rebuilds by not relying on self

This commit is contained in:
Jörg Thalheim
2023-08-27 10:21:02 +02:00
parent c9adf12e72
commit 4735586dac
3 changed files with 10 additions and 13 deletions

View File

@@ -12,7 +12,6 @@
, pytest-parallel
, python3
, runCommand
, self
, setuptools
, sops
, stdenv
@@ -50,8 +49,8 @@ let
cp -r ${./.} $out
chmod -R +w $out
rm $out/clan_cli/config/jsonschema
cp -r ${self + /lib/jsonschema} $out/clan_cli/config/jsonschema
ln -s ${nixpkgs} $out/clan_cli/nixpkgs
cp -r ${../../lib/jsonschema} $out/clan_cli/config/jsonschema
ln -s ${ui-assets} $out/clan_cli/webui/assets
'';
nixpkgs = runCommand "nixpkgs" { } ''