Skip to content

Commit

Permalink
Add tests for invalid dynamic inherit interpolations
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucus16 authored and piegamesde committed Oct 11, 2023
1 parent 10e0096 commit ec36303
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/invalid/interpolation-in-inherit-1.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
let
bar = "bar";

in { inherit ${bar}; }
1 change: 1 addition & 0 deletions test/invalid/interpolation-in-inherit-2.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ inherit ${"foo" + "bar"}; }

0 comments on commit ec36303

Please sign in to comment.