Add ‘deepSeq’ primop
Note that unlike ‘lib.deepSeq’ in Nixpkgs, this handles cycles.
This commit is contained in:
parent
831fc8ea21
commit
0cd6596b0e
4 changed files with 14 additions and 0 deletions
1
tests/lang/eval-fail-deepseq.nix
Normal file
1
tests/lang/eval-fail-deepseq.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
builtins.deepSeq { x = abort "foo"; } 456
|
||||
Loading…
Add table
Add a link
Reference in a new issue