blob: 933aa46022dd3f4dbb5ed4d958afb655faf8c8ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[
# builtins.toXML retains context where there is.
(builtins.getContext (builtins.toXML {
inherit (derivation {
name = "test";
builder = "/bin/sh";
system = builtins.currentSystem;
}) drvPath;
}))
# this should have no context.
(builtins.hasContext
(builtins.toXML { }))
]
|