statix fix

This commit is contained in:
GTrunSec 2022-04-02 13:43:57 -07:00
parent 890b84be5e
commit 6a720a257e
No known key found for this signature in database
GPG key ID: 2368FAFA4ABDD2A0
27 changed files with 86 additions and 99 deletions

View file

@ -23,7 +23,7 @@
inherit system;
};
lib = pkgs.lib;
inherit (pkgs) lib;
kubenix = {
lib = import ./lib {inherit lib pkgs;};
@ -71,7 +71,7 @@
checks = let
wasSuccess = suite:
if suite.success == true
if suite.success
then pkgs.runCommandNoCC "testing-suite-config-assertions-for-${suite.name}-succeeded" {} "echo success > $out"
else pkgs.runCommandNoCC "testing-suite-config-assertions-for-${suite.name}-failed" {} "exit 1";
mkExamples = attrs: