aboutsummaryrefslogtreecommitdiff
path: root/tests/lang/eval-fail-deepseq.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-22 16:03:55 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-09-22 16:05:00 +0200
commit0cd6596b0e75870dc59f17848c6c152e2b2c6dba (patch)
tree8c69bfc1e595187705b48790c3c1f71549981ce6 /tests/lang/eval-fail-deepseq.nix
parent831fc8ea21fc730388e9359fcafed279c8ec413d (diff)
Add ‘deepSeq’ primop
Note that unlike ‘lib.deepSeq’ in Nixpkgs, this handles cycles.
Diffstat (limited to 'tests/lang/eval-fail-deepseq.nix')
-rw-r--r--tests/lang/eval-fail-deepseq.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lang/eval-fail-deepseq.nix b/tests/lang/eval-fail-deepseq.nix
new file mode 100644
index 000000000..9baa49b06
--- /dev/null
+++ b/tests/lang/eval-fail-deepseq.nix
@@ -0,0 +1 @@
+builtins.deepSeq { x = abort "foo"; } 456