rmdashrf has quit [Quit: ZNC 1.8.2+deb1~bpo10+1 - https://znc.in]
rmdashrf has joined #nix-lang
globin has quit [Ping timeout: 240 seconds]
globin has joined #nix-lang
chvp has quit [*.net *.split]
kalbasit[m] has quit [*.net *.split]
chvp has joined #nix-lang
kalbasit[m] has joined #nix-lang
jtojnar has quit [Ping timeout: 246 seconds]
kalbasit[m] has quit [Ping timeout: 258 seconds]
chvp has quit [Ping timeout: 258 seconds]
mvnetbiz_ has quit [Ping timeout: 244 seconds]
cwslimy[m] has quit [Ping timeout: 244 seconds]
siraben has quit [Ping timeout: 244 seconds]
colemickens has quit [Ping timeout: 265 seconds]
cwNovusOrdoSeclo has joined #nix-lang
__monty__ has joined #nix-lang
jtojnar has joined #nix-lang
mvnetbiz_ has joined #nix-lang
JJJollyjim has joined #nix-lang
kalbasit[m] has joined #nix-lang
awaxa has joined #nix-lang
chvp has joined #nix-lang
colemickens has joined #nix-lang
siraben has joined #nix-lang
Dotz0cat_ has quit [Ping timeout: 265 seconds]
srhb has quit [Remote host closed the connection]
manveru has quit [Remote host closed the connection]
manveru has joined #nix-lang
srhb has joined #nix-lang
<sterni>
infinisil: regarding #97310, I have experimented with this and have come to the conclusion that the only way to implement something lib lib.hexByte is to have a lookup table in a list
<{^_^}>
https://github.com/NixOS/nixpkgs/issues/97310 (by berbiche, 23 weeks ago, closed): Newly introduced YAML formatter does not allow hexadecimal escapes (or other escapes) in strings
<infinisil>
sterni: Yeah I implemented a version of this like that
<sterni>
which is when I found out that nix string literals can contain everything except unescaped " and \0
<infinisil>
Yeah same lol
<sterni>
infinisil: riight that is probably nicer
<infinisil>
Well they can contain "
<infinisil>
''"''
<sterni>
oh yeah
<infinisil>
But just escaping it works too, "\""
<infinisil>
It's still a " in the end
<sterni>
yes
<sterni>
just was referring to the fact what I later found out that you don't have to escape linebreaks to \n and similarly \r can also be in the strings
<sterni>
different to JSON I think
<sterni>
I guess we'll have to sneak in lib.hexByte when no one is looking :p
<sterni>
also i've uploaded the broken version of course -.-