tests: Add a test for nix-darwin modules (#909)

This commit is contained in:
traxys 2024-01-06 18:03:44 +01:00 committed by GitHub
parent 245930d735
commit 2167c1930c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 51 additions and 0 deletions

View file

@ -53,6 +53,15 @@
.system
.build
.toplevel;
}
// pkgs.lib.optionalAttrs pkgs.stdenv.isDarwin {
darwin-module =
(import ../tests/modules/darwin.nix {
inherit system;
inherit (inputs) nix-darwin;
nixvim = self;
})
.system;
};
};
}