Commit 8a71705a authored by piegames's avatar piegames
Browse files

nixos/stash: Fix regex in default value

`\.` in a Nix string is just `.`, so it will match on any characters
instead of just dot.
parent a68c7dff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -225,7 +225,7 @@ let
      };
      gallery_cover_regex = mkOption {
        type = types.str;
        default = "(poster|cover|folder|board)\.[^\.]+$";
        default = "(poster|cover|folder|board)\\.[^.]+$";
        description = "Regex used to identify images as gallery covers";
      };
      no_proxy = mkOption {