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

@@ -1,12 +1,10 @@
{ self, ... }: {
{
perSystem = { self', pkgs, ... }: {
devShells.clan-cli = pkgs.callPackage ./shell.nix {
inherit self;
inherit (self'.packages) clan-cli ui-assets;
inherit (self'.packages) clan-cli ui-assets nix-unit;
};
packages = {
clan-cli = pkgs.python3.pkgs.callPackage ./default.nix {
inherit self;
inherit (self'.packages) ui-assets zerotierone;
};
clan-openapi = self'.packages.clan-cli.clan-openapi;