diff --git a/dev/tests/eval-tests.nix b/dev/tests/eval-tests.nix index 1a2b974..cd57fba 100644 --- a/dev/tests/eval-tests.nix +++ b/dev/tests/eval-tests.nix @@ -135,6 +135,16 @@ rec { config = { }; }; + specialArgFlake = mkFlake + { + inputs.self = { }; + specialArgs.soSpecial = true; + } + ({ soSpecial, ... }: { + imports = assert soSpecial; [ ]; + flake.foo = true; + }); + runTests = ok: assert empty == { @@ -201,6 +211,8 @@ rec { assert emptyExposeArgs.moduleLocation == "the self outpath/flake.nix"; + assert specialArgFlake.foo; + ok; result = runTests "ok";