about summary refs log tree commit diff
path: root/third_party/nix/tests/structured-attrs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/tests/structured-attrs.sh')
-rw-r--r--third_party/nix/tests/structured-attrs.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/nix/tests/structured-attrs.sh b/third_party/nix/tests/structured-attrs.sh
new file mode 100644
index 000000000000..9ba2672b6833
--- /dev/null
+++ b/third_party/nix/tests/structured-attrs.sh
@@ -0,0 +1,7 @@
+source common.sh
+
+clearStore
+
+outPath=$(nix-build structured-attrs.nix --no-out-link)
+
+[[ $(cat $outPath/foo) = bar ]]