mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-22 08:14:06 +01:00
commit
5cb129213d
@ -1,15 +1,11 @@
|
|||||||
{ self, ... }: {
|
{ self, ... }: {
|
||||||
perSystem =
|
perSystem =
|
||||||
{ pkgs
|
{ pkgs
|
||||||
|
, lib
|
||||||
, ...
|
, ...
|
||||||
}: {
|
}: {
|
||||||
checks =
|
checks = lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||||
let
|
test = import ./test.nix { inherit self pkgs; };
|
||||||
# this gives us a reference to our flake but also all flake inputs
|
};
|
||||||
checkArgs = { inherit self pkgs; };
|
|
||||||
in
|
|
||||||
{
|
|
||||||
test = import ./test.nix checkArgs;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user