Merge pull request #17 from Mic92/ci

fix darwin in ci
This commit is contained in:
Jörg Thalheim 2023-11-19 12:02:29 +01:00 committed by GitHub
commit 5cb129213d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}; };
}; };
} }