about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/readTree/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/readTree/default.nix b/nix/readTree/default.nix
index 55da146be2dc..0c323bbdc8eb 100644
--- a/nix/readTree/default.nix
+++ b/nix/readTree/default.nix
@@ -44,7 +44,7 @@ let
       else imported;
 
   nixFileName = file:
-    let res = match "(.*)\.nix" file;
+    let res = match "(.*)\\.nix" file;
     in if res == null then null else head res;
 
   readTree = args: initPath: parts: