mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Add ‘seq’ primop
This commit is contained in:
parent
eff120d1b9
commit
a54c263402
4 changed files with 15 additions and 0 deletions
1
tests/lang/eval-fail-seq.nix
Normal file
1
tests/lang/eval-fail-seq.nix
Normal file
|
@ -0,0 +1 @@
|
|||
builtins.seq (abort "foo") 2
|
1
tests/lang/eval-okay-seq.exp
Normal file
1
tests/lang/eval-okay-seq.exp
Normal file
|
@ -0,0 +1 @@
|
|||
2
|
1
tests/lang/eval-okay-seq.nix
Normal file
1
tests/lang/eval-okay-seq.nix
Normal file
|
@ -0,0 +1 @@
|
|||
builtins.seq 1 2
|
Loading…
Add table
Add a link
Reference in a new issue