18 Aug 2024 |
| r3vx joined the room. | 14:16:53 |
19 Aug 2024 |
ilaumjd | ~ ➤ nix eval --expr '{x = "([[$all_status$ahead_behind]]($style))";}'
{ x = "([[$all_status$ahead_behind]]($style))"; }
~ ➤ nix eval --expr '{x = "([\[$all_status$ahead_behind]\]($style))";}'
{ x = "([[$all_status$ahead_behind]]($style))"; }
~ ➤ nix eval --expr '{x = "([\\[$all_status$ahead_behind]\\]($style))";}'
{ x = "([\\[$all_status$ahead_behind]\\]($style))"; }
~ ➤ nix eval --expr '{x = "([\\\[$all_status$ahead_behind]\\\]($style))";}'
{ x = "([\\[$all_status$ahead_behind]\\]($style))"; }
~ ➤ nix eval --expr "{x = ''([\[\$all_status\$ahead_behind]\](\$style))'';}"
{ x = "([\\[$all_status$ahead_behind]\\]($style))"; }
~ ➤ nix eval --expr "{x = ''([\\[\$all_status\$ahead_behind]\\](\$style))'';}"
{ x = "([\\[$all_status$ahead_behind]\\]($style))"; }
~ ➤ nix eval --expr "{x = ''([''\[\$all_status\$ahead_behind]''\](\$style))'';}"
{ x = "([[$all_status$ahead_behind]]($style))"; }
why everyting produce 0 or 2 backslashes? how to produce 1 backslash?
| 00:19:05 |
emily | "\\" is a string that contains one backslash | 00:22:10 |
emily | because that's how you escape a backslash in the string literal syntax | 00:22:22 |
emily | nix-repl> builtins.trace "\\" null
trace: \
null
| 00:22:38 |
emily | nix-repl> :p "\\"
\
| 00:22:50 |
| @matt:mymu.pub joined the room. | 07:33:14 |
| @stooj:matrix.org joined the room. | 13:17:52 |
Arian | We really ought to have a nixbot in here | 17:30:45 |
Tranquil Ity | How's the IO purity of Nix ? | 17:41:18 |
Tranquil Ity | Like, as a language | 17:41:29 |
Tranquil Ity | * Like, as a language, from within the language | 17:41:34 |
Tranquil Ity | Ik that there's IO impls but unsure how they work | 17:41:48 |
infinisil | Tranquil Ity: Not really what you're asking, but https://github.com/infinisil/nix-rts :P | 17:56:00 |
Tranquil Ity | Yaa I think you linked that before, the question is how it works ig | 18:02:33 |
20 Aug 2024 |
| benwebb changed their display name from benjaminedwardwebb to benwebb. | 12:44:18 |
| lgmrszd changed their profile picture. | 18:03:54 |
21 Aug 2024 |
| Sigmanificient joined the room. | 00:46:32 |
| @mauerlaeufer:matrix.org left the room. | 12:23:12 |
| Luna changed their display name from Luna Simons to Luna. | 16:22:35 |
| @shymega:one.ems.host joined the room. | 16:36:42 |
22 Aug 2024 |
| Artur Manuel joined the room. | 12:32:13 |
Artur Manuel | moving an issue i have been having to this channel since its more on topic here than #Nix / NixOS But i | 13:06:37 |
Artur Manuel | moving an issue i have been having to this channel since its more on topic here than #Nix / NixOS But I recently had an issue involving a library function with mkMerge that was a consequence of not using flake-parts. | 13:08:26 |
Artur Manuel | My issue is that I now dont know what function I can apply to hold the place of mkMerge, and I don't think Noogle is helping much | 13:14:14 |
Artur Manuel | my current attempted solutions (map, listToAttrs, maybe more) have all not worked | 14:03:10 |
Artur Manuel | almost considering rewriting li | 14:03:26 |
Artur Manuel | Redacted or Malformed Event | 14:03:32 |
Artur Manuel | * almost considering rewriting my mkHost function | 14:04:38 |
| @matrix:03j.de joined the room. | 14:21:30 |