diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-02 23:30:38 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-03 04:44:24 +0000 |
commit | 3c78ac348c3a32fa6d78d3c56645901513c2e731 (patch) | |
tree | b4ff0079484b825f884eb98ff88655142d386f58 /src/nix-store | |
parent | fecff16a6e8bffce9a404b1508fec375e83ec01e (diff) | |
parent | 406dbb7fce32f7d80b02f560d91c956698b58d6e (diff) |
Merge remote-tracking branch 'obsidian/no-hash-type-unknown' into validPathInfo-ca-proper-datatype
Diffstat (limited to 'src/nix-store')
-rw-r--r-- | src/nix-store/nix-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index c74847394..e8696277e 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -722,7 +722,7 @@ static void opVerifyPath(Strings opFlags, Strings opArgs) auto path = store->followLinksToStorePath(i); printMsg(Verbosity::Talkative, "checking path '%s'...", store->printStorePath(path)); auto info = store->queryPathInfo(path); - HashSink sink(info->narHash.type); + HashSink sink(*info->narHash.type); store->narFromPath(path, sink); auto current = sink.finish(); if (current.first != info->narHash) { |