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/
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
Graypup_ has joined #nix-lang
tilpner has quit [Remote host closed the connection]
tilpner has joined #nix-lang
tilpner_ has joined #nix-lang
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
rajivr has joined #nix-lang
kalbasit has quit [Ping timeout: 240 seconds]
kalbasit has joined #nix-lang
tilpner_ has joined #nix-lang
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
__monty__ has joined #nix-lang
<Profpatsch> I adore how nix-instantiate is broken when it comes to __functor
<Profpatsch> > nix-instantiate --eval --strict -E '{ __functor = _: v: v; foo = {}; }.foo'
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):460:36
<Profpatsch> { }
<Profpatsch> > echo '{ __functor = _: v: v; foo = {}; }' > abc.nix
<{^_^}> error: syntax error, unexpected $undefined, expecting ')', at (string):460:6
<Profpatsch> > nix-instantiate --eval --strict abc.nix -A foo
<{^_^}> undefined variable 'nix-instantiate' at (string):460:1
<Profpatsch> error: the expression selected by the selection path 'foo' should be a set but is a function
<Profpatsch> Also, > is and always has been quote syntax, using it for evaluation is not a good idea
<__monty__> I kinda like it discourages that particular email behavior.
<__monty__> There's too many bots using > so the sooner people stop doing that the better : )
<__monty__> It's not very clear on IRC either imo.
<{^_^}> nix#2722 (by Infinisil, 1 year ago, closed): Inconsistent behavior of -A with functors
<Profpatsch> __monty__: how else would you quote
<__monty__> With "'s IRC doesn't lend itself to blocks of text anyway so regular quoting syntax is fine imo.
<infinisil> Neat!
andi- has quit [Remote host closed the connection]
andi- has joined #nix-lang
ddellacosta has joined #nix-lang
rajivr has quit [Quit: Connection closed for inactivity]
ddellacosta has quit [Quit: WeeChat 2.8]
ddellacosta has joined #nix-lang
ddellacosta has quit [Client Quit]
ddellacosta has joined #nix-lang
__monty__ has quit [Quit: leaving]
ddellacosta has quit [Ping timeout: 256 seconds]
ddellacosta has joined #nix-lang
ddellacosta has quit [Ping timeout: 240 seconds]