about summary refs log tree commit diff
path: root/src/fix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fix.cc')
-rw-r--r--src/fix.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fix.cc b/src/fix.cc
index 508a441167bc..b4626f71f329 100644
--- a/src/fix.cc
+++ b/src/fix.cc
@@ -170,7 +170,8 @@ static Expr evalExpr(Expr e)
         if (name == "")
             throw badTerm("no package name specified", nf);
         
-        string out = nixStore + "/" + ((string) hash).c_str() + "-" + name;
+        string out = 
+            canonPath(nixStore + "/" + ((string) hash).c_str() + "-" + name);
 
         env = ATinsert(env, ATmake("(<str>, <str>)", "out", out.c_str()));