diff --git a/dev/tests/eval-tests.nix b/dev/tests/eval-tests.nix index 5a47d8e..5990332 100644 --- a/dev/tests/eval-tests.nix +++ b/dev/tests/eval-tests.nix @@ -158,6 +158,17 @@ rec { flake.foo = true; }); + partitionWithoutExtraInputsFlake = mkFlake + { + inputs.self = { }; + } + ({ config, ... }: { + imports = [ flake-parts.flakeModules.partitions ]; + systems = [ "x86_64-linux" ]; + partitions.dev.module = { inputs, ... }: builtins.seq inputs { }; + partitionedAttrs.devShells = "dev"; + }); + runTests = ok: assert empty == { @@ -242,6 +253,8 @@ rec { assert specialArgFlake.foo; + assert builtins.isAttrs partitionWithoutExtraInputsFlake.devShells.x86_64-linux; + ok; result = runTests "ok";