<emmanuel`>
I was just to make sure that I have this idea correct in my head
<emmanuel`>
If only use 1 attribute from an attribute set, I am not forcing the evalution of the entire attribute set? (Assuming of course, that the attribute is independent of the others)
glittershark has joined #nix-lang
<infinisil>
emmanuel`: Attribute sets are strict in keys, but lazy in values
<infinisil>
So by accessing one value, you're forcing all attribute keys and only that value
<infinisil>
> let attrs = { a = "a"; b = throw "b"; }; in attrs.a
<{^_^}>
"a"
<infinisil>
So this works, the value of b is not evaluated
lukegb has joined #nix-lang
meh` has quit [Ping timeout: 260 seconds]
<emmanuel`>
Ok, I ask this because I want to make sure that a particular build isn't initiated.
emmanuel` has left #nix-lang ["ERC (IRC client for Emacs 26.3)"]