From b251afdd427cc36d0222d92660771d4920854682 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 29 Jul 2025 20:51:24 +0200 Subject: modules/legacy/beets: Use correct escape sequence for `\` The `\` is parsed once from yaml to python and then again, when it is inserted into the replace regex. As such we need two levels of escape. --- modules/home.legacy/conf/beets/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/home.legacy/conf') diff --git a/modules/home.legacy/conf/beets/default.nix b/modules/home.legacy/conf/beets/default.nix index 3eeeee25..2fec6881 100644 --- a/modules/home.legacy/conf/beets/default.nix +++ b/modules/home.legacy/conf/beets/default.nix @@ -42,7 +42,7 @@ in { }; replace = { - "[/]" = "\\"; + "[/]" = "\\\\"; "[\\x00-\\x1f]" = ""; "\\s+$" = ""; "^\\s+" = ""; -- cgit 1.4.1