blob: 678d6139ee035c64df485169089f759ab64e11bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
let
alias = builtins;
in
[
(builtins == builtins)
(alias == builtins)
(builtins == builtins.builtins)
(builtins.builtins == builtins.builtins)
(builtins.builtins == builtins.builtins.builtins)
(alias == alias)
(alias == builtins.builtins)
([ builtins ] == [ builtins ])
# Surprisingly this only works with the set
([ builtins.add ] == [ builtins.add ])
({ inherit (builtins) import; } == { inherit (builtins) import; })
# But this does
(let x = { inherit (builtins) add; }; in x == x)
]
|