aboutsummaryrefslogtreecommitdiff
path: root/tests/undefined-variable.nix
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2021-12-28 15:54:46 +0300
committerAlexander Bantyev <balsoft@balsoft.ru>2021-12-28 15:54:46 +0300
commit2dc29e0d932822baa50dbc3e81ae108382c39062 (patch)
tree35322c7e22334956b61817ca1e8f25f6a4e7f74f /tests/undefined-variable.nix
parent581f774284fa1b833255218165f4c958fe741500 (diff)
Add a test that nix repl --show-trace actually shows the trace
Diffstat (limited to 'tests/undefined-variable.nix')
-rw-r--r--tests/undefined-variable.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/undefined-variable.nix b/tests/undefined-variable.nix
new file mode 100644
index 000000000..579985497
--- /dev/null
+++ b/tests/undefined-variable.nix
@@ -0,0 +1 @@
+let f = builtins.toFile "test-file.nix" "asd"; in import f