__monty__ has quit [Quit: leaving]
rajivr has joined #nix-lang
{^_^} has joined #nix-lang
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nix-lang
kalbasit__ has joined #nix-lang
kalbasit___ has joined #nix-lang
kalbasit__ has quit [Ping timeout: 240 seconds]
kalbasit___ has quit [Ping timeout: 240 seconds]
__monty__ has joined #nix-lang
__monty__ has quit [Ping timeout: 260 seconds]
__monty__ has joined #nix-lang
simpson has joined #nix-lang
kalbasit___ has joined #nix-lang
kalbasit___ has quit [Ping timeout: 265 seconds]
<
sterni>
> builtins.tryEval (builtins.functionArgs builtins.toString)
<
{^_^}>
'functionArgs' requires a function, at (string):471:19
<
sterni>
infinisil: ^ :|
chvp has joined #nix-lang
<
sterni>
seems also like it is not possible to distinguish between builtins and lambdas from within nix when you don't know its attribute name
kalbasit___ has joined #nix-lang
<
infinisil>
sterni: Hmm yeah
<
infinisil>
Reverting sounds good then
<
infinisil>
At least it's fixed in Nix proper, so it will work eventually on its own
kalbasit___ has quit [Ping timeout: 272 seconds]
<
{^_^}>
#111577 (by sternenseemann, 34 seconds ago, open): Revert "lib/generators: fix toPretty throwing on (partially applied) builtins"
<
sterni>
sorry for wasting your time with this.
<
infinisil>
No worries :)
<
sterni>
actually noticed that the fix on nix proper is somewhat incorrect
<
sterni>
builtins.functionArgs builtins.fetchGit == { }
<
sterni>
apparently it doesn't account for builtins that take formal arguments
<
sterni>
okay, not incosistent behavior, I'll give you that :)
globin has joined #nix-lang
kalbasit___ has joined #nix-lang
kalbasit___ has quit [Quit: WeeChat 2.9]
rajivr has quit [Quit: Connection closed for inactivity]
jtojnar has quit [*.net *.split]
JJJollyjim has quit [*.net *.split]
jtojnar has joined #nix-lang
evanjs has joined #nix-lang
__monty__ has quit [Quit: leaving]