infinisil changed the topic of #nix-lang to: Channel for discussing Nix as a language - https://nixos.org/nix/manual/#chap-writing-nix-expressions - Logs: https://logs.nix.samueldr.com/nix-lang/
ddellacosta has quit [Ping timeout: 256 seconds]
__monty__ has joined #nix-lang
ddellacosta has joined #nix-lang
__monty__ has quit [Quit: leaving]
emmanuel` has joined #nix-lang
<emmanuel`> Hello there!
meh` has joined #nix-lang
<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)"]
rnhmjoj has joined #nix-lang
rnhmjoj has joined #nix-lang
rnhmjoj has quit [Changing host]
tilpner has joined #nix-lang
meh`_ has joined #nix-lang
globin has quit [Ping timeout: 260 seconds]
globin has joined #nix-lang
meh`_ has quit [Ping timeout: 265 seconds]