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/
tilpner_ has joined #nix-lang
tilpner has quit [Ping timeout: 244 seconds]
tilpner_ is now known as tilpner
hmpffff_ has joined #nix-lang
hmpffff has quit [Ping timeout: 260 seconds]
__monty__ has joined #nix-lang
ddellacosta has quit [Quit: WeeChat 2.2]
__monty__ has quit [Ping timeout: 256 seconds]
__monty__ has joined #nix-lang
__monty__ has quit [Ping timeout: 265 seconds]
__monty__ has joined #nix-lang
ddellacosta has joined #nix-lang
{^_^} has quit [Ping timeout: 260 seconds]
MichaelRaskin has joined #nix-lang
{^_^} has joined #nix-lang
__monty__ has quit [Quit: leaving]
<puck> > let a.b.c = "d"; a.${builtins.trace (builtins.toJSON a) a.b.c}.c = 5; in a
<{^_^}> { b = { c = "d"; }; d = <CODE>; }
<puck> > let a.b.c = "d"; a.${builtins.toJSON a}.c = 5; in a
<{^_^}> { b = { c = "d"; }; "{\"b\":{\"c\":\"d\"}}" = <CODE>; }
<puck> eh whatever that works too
<puck> who needs attrsets wehn you have weird side-effectful lets
hmpffff_ has quit [Quit: nchrrrr…]
<MichaelRaskin> Technically you still use attrsets there
<puck> reasonable
<puck> > let ${"a"} = 5; in a
<{^_^}> 5
<puck> problem solved
<puck> :p