diff --git a/test/invalid/interpolation-in-inherit-1.nix b/test/invalid/interpolation-in-inherit-1.nix new file mode 100644 index 00000000..bf47290a --- /dev/null +++ b/test/invalid/interpolation-in-inherit-1.nix @@ -0,0 +1,4 @@ +let + bar = "bar"; + +in { inherit ${bar}; } diff --git a/test/invalid/interpolation-in-inherit-2.nix b/test/invalid/interpolation-in-inherit-2.nix new file mode 100644 index 00000000..431b1d1a --- /dev/null +++ b/test/invalid/interpolation-in-inherit-2.nix @@ -0,0 +1 @@ +{ inherit ${"foo" + "bar"}; }