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