!tDnwWRNkmmYtMXfaZl:nixos.org

Nix Language

1518 Members
Nix programming language267 Servers

Load older messages


SenderMessageTime
13 Aug 2024
@niklauzg:matrix.orgNiklauz left the room.21:38:34
@niklauzg:matrix.orgNiklauz joined the room.21:40:23
@jul1u5:matrix.orgjul1u5 left the room.21:55:54
@jul1u5:matrix.orgjul1u5 joined the room.21:56:37
@jul1u5:matrix.orgjul1u5 changed their display name from Julius Marozas to jul1u5.21:58:49
14 Aug 2024
@peddie:matrix.orgpeddie changed their profile picture.00:34:33
@fudgemaster:matrix.orgFrank Geusch changed their display name from Master Fudge to Frank Geusch.13:25:44
@clevercoconut:matrix.orgclevercoconut joined the room.21:06:36
@aurorasystem:matrix.orgAurora Ennie Seidr (she / her) joined the room.21:25:04
@tacocatgirl:catgirl.cloudtacocatgirl joined the room.22:30:20
@3650badcop:catgirl.cloud@3650badcop:catgirl.cloud left the room.22:43:12
15 Aug 2024
@aurorasystem:matrix.orgAurora Ennie Seidr (she / her) changed their display name from Aurora Ennie Seidr to Aurora Ennie Seidr (she / her).04:18:20
@black_desk:matrix.orgblack_desk joined the room.11:59:55
@kpbaks:matrix.orgkpbaks changed their display name from Kristoffer Plagborg Bak Sørensen to kpbaks.15:06:12
@dhofer:matrix.orgdhofer joined the room.19:25:39
@iamkexo:matrix.orgiamkexo joined the room.21:37:58
16 Aug 2024
@lordmzte:mzte.deLordMZTE changed their display name from LordMZTE ⚡️ to LordMZTE.22:24:26
17 Aug 2024
@isabel:isabelroses.comisabel changed their profile picture.12:39:18
@isabel:isabelroses.comisabel changed their profile picture.12:41:50
@tollb1:matrix.orgtollb1 joined the room.13:22:07
@shipurjan:matrix.orgCyprian Zdebski joined the room.21:18:26
18 Aug 2024
@r3vx:matrix.orgr3vx joined the room.14:16:53
19 Aug 2024
@ilaumjd:matrix.orgilaumjd
~ ➤ 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
@emilazy:matrix.orgemily "\\" is a string that contains one backslash 00:22:10
@emilazy:matrix.orgemilybecause that's how you escape a backslash in the string literal syntax00:22:22
@emilazy:matrix.orgemily
nix-repl> builtins.trace "\\" null
trace: \
null
00:22:38
@emilazy:matrix.orgemily
nix-repl> :p "\\"
\
00:22:50
@matt:mymu.pub@matt:mymu.pub joined the room.07:33:14
@stooj:matrix.org@stooj:matrix.org joined the room.13:17:52
@arianvp:matrix.orgArianWe really ought to have a nixbot in here17:30:45

Show newer messages


Back to Room ListRoom Version: 6