diff --git a/src/libstore/storeexpr.cc b/src/libstore/storeexpr.cc index e11cd5bfe5..45b5af055a 100644 --- a/src/libstore/storeexpr.cc +++ b/src/libstore/storeexpr.cc @@ -15,7 +15,7 @@ Path writeTerm(ATerm t, const string & suffix) Hash h = hashTerm(t); Path path = canonPath(nixStore + "/" + - (string) h + suffix + ".nix"); + (string) h + suffix + ".store"); if (!isValidPath(path)) { char * s = ATwriteToString(t);