about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 270bc4446bff..b80e20692127 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -749,7 +749,7 @@ struct FilterFromExpr : PathFilter
 
         Expr call =
             makeCall(
-                makeCall(filter, makePath(toATerm(path))),
+                makeCall(filter, makeStr(path)),
                 makeStr(
                     S_ISREG(st.st_mode) ? "regular" :
                     S_ISDIR(st.st_mode) ? "directory" :