perf? make clan-cli evaluate waaayyy faster

Before my small devshell to 7s. Now I am back to 2.6s
This commit is contained in:
Jörg Thalheim
2023-09-22 08:39:24 +02:00
parent 4f3f7a4feb
commit 41f1b8a15a
2 changed files with 11 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, inputs, ... }:
{
perSystem = { self', pkgs, ... }: {
devShells.clan-cli = pkgs.callPackage ./shell.nix {
@@ -7,6 +7,7 @@
packages = {
clan-cli = pkgs.python3.pkgs.callPackage ./default.nix {
inherit (self'.packages) ui-assets zerotierone;
inherit (inputs) nixpkgs;
};
clan-openapi = self'.packages.clan-cli.clan-openapi;
default = self'.packages.clan-cli;