feat: remove nix store path prefix if used in flakeModule

This commit is contained in:
technofab 2025-05-03 22:23:05 +02:00
parent 27696c02bc
commit 482f15c486
2 changed files with 12 additions and 4 deletions

View file

@ -1,6 +1,7 @@
{
flake-parts-lib,
lib,
self,
...
}: let
inherit (lib) mkOption types;
@ -11,7 +12,7 @@ in {
pkgs,
...
}: let
nixtests-lib = import ./. {inherit pkgs;};
nixtests-lib = import ./. {inherit pkgs self;};
in {
options.testSuites = mkOption {
type = types.attrsOf (types.listOf types.attrs);