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: 260 seconds]
tilpner_ is now known as tilpner
jtojnar has quit [Ping timeout: 244 seconds]
jtojnar has joined #nix-lang
evanjs has quit [Ping timeout: 256 seconds]
evanjs has joined #nix-lang
ddellacosta has quit [Ping timeout: 246 seconds]
__monty__ has joined #nix-lang
EsperLily has quit [Remote host closed the connection]
noonien has joined #nix-lang
ddellacosta has joined #nix-lang
<pie_> > builtins.typeOf (builtins.toPath "/etc/passwd")
<{^_^}> "string"
<pie_> WHY
<pie_> today, on obscure nix corners
<{^_^}> #40937 (by shlevy, 2 years ago, merged): treewide: Remove uses of builtins.toPath.
<pie_> > /.
<{^_^}> /
<pie_> I did not know you could do taht
<pie_> oh. i see its in the manual too,
<pie_> .
<pie_> ok the actual issue was reading a path from a file with a trailing newline...
MichaelRaskin has joined #nix-lang
EsperLily has joined #nix-lang
__monty__ has quit [Quit: leaving]
ehmry has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nix-lang