Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I9d6ce6a264780f215b1b57d947b5264c6a6a6964
6 lines
87 B
Nix
6 lines
87 B
Nix
# Test 'or' in attrset context
|
|
let
|
|
attrs = {a = 1;};
|
|
in {
|
|
test = attrs.a or 999;
|
|
}
|