diff options
Diffstat (limited to 'src/nix-store/main.cc')
-rw-r--r-- | src/nix-store/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc index 7c86395a640d..f8ddfd5d7887 100644 --- a/src/nix-store/main.cc +++ b/src/nix-store/main.cc @@ -1,7 +1,7 @@ #include <iostream> #include "globals.hh" -#include "normalise.hh" +#include "build.hh" #include "gc.hh" #include "archive.hh" #include "shared.hh" @@ -187,7 +187,7 @@ static void opValidPath(Strings opFlags, Strings opArgs) createStoreTransaction(txn); for (Strings::iterator i = opArgs.begin(); i != opArgs.end(); ++i) - registerValidPath(txn, *i); + registerValidPath(txn, *i, hashPath(htSHA256, *i)); txn.commit(); } |