From e2cf3c1601249628e568f221b78f6bb41fb240cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 22 Sep 2023 15:39:03 +0200 Subject: [PATCH] fix test not beeing exposed --- pkgs/clan-cli/default.nix | 2 +- pkgs/clan-cli/flake-module.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/clan-cli/default.nix b/pkgs/clan-cli/default.nix index 7aed0c22..c643448c 100644 --- a/pkgs/clan-cli/default.nix +++ b/pkgs/clan-cli/default.nix @@ -113,7 +113,7 @@ python3.pkgs.buildPythonPackage { propagatedBuildInputs = dependencies; # also re-expose dependencies so we test them in CI - passthru.tests = (lib.mapAttrs' (n: lib.nameValuePair "package-${n}") runtimeDependenciesAsSet) // { + passthru.tests = (lib.mapAttrs' (n: lib.nameValuePair "clan-dep-${n}") runtimeDependenciesAsSet) // { clan-pytest = runCommand "clan-pytest" { nativeBuildInputs = [ checkPython ] ++ pytestDependencies; } '' cp -r ${source} ./src chmod +w -R ./src diff --git a/pkgs/clan-cli/flake-module.nix b/pkgs/clan-cli/flake-module.nix index ff7aaee7..42201021 100644 --- a/pkgs/clan-cli/flake-module.nix +++ b/pkgs/clan-cli/flake-module.nix @@ -1,4 +1,4 @@ -{ lib, inputs, ... }: +{ inputs, ... }: { perSystem = { self', pkgs, ... }: { devShells.clan-cli = pkgs.callPackage ./shell.nix { @@ -18,7 +18,7 @@ ## End optional dependencies }; - checks = lib.mkDefault self'.packages.clan-cli.tests; + checks = self'.packages.clan-cli.tests; }; }