test: add basic test for flakeModule functionality

This commit is contained in:
technofab 2025-09-01 15:46:07 +02:00
parent 0952ab4145
commit e074d716c4
No known key found for this signature in database
7 changed files with 73 additions and 6 deletions

View file

@ -1,6 +1,7 @@
{
inputs = {
devshell-lib.url = "gitlab:rensa-nix/devshell?dir=lib";
nixtest-lib.url = "gitlab:TECHNOFAB/nixtest?dir=lib";
treefmt-nix = {
url = "github:numtide/treefmt-nix";
flake = false;
@ -10,6 +11,7 @@
i
// {
devshell = i.devshell-lib.lib {inherit (i.parent) pkgs;};
ntlib = i.nixtest-lib.lib {inherit (i.parent) pkgs;};
cilib = import "${i.parent.self}/lib" {inherit (i.parent) pkgs;};
treefmt = import i.treefmt-nix;
};