diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-29 20:51:24 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-07-29 20:51:24 +0200 |
commit | b251afdd427cc36d0222d92660771d4920854682 (patch) | |
tree | 745a50a0f52423238e94eec8e784b24f5f0e7883 /modules/home.legacy | |
parent | modules/legacy/beets: Use primary artist for path names (diff) | |
download | nixos-config-b251afdd427cc36d0222d92660771d4920854682.zip |
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.
Diffstat (limited to 'modules/home.legacy')
-rw-r--r-- | modules/home.legacy/conf/beets/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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+" = ""; |