aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/content-address.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-29 18:40:34 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-29 18:40:34 +0000
commita83566e5bcafeca03f6f258c5967aa9505e2042a (patch)
tree25c6433632ce62ab6ee80e3313b81f6a97f0fef1 /src/libstore/content-address.cc
parent55d4bd6e0ea23dcf55dc33a964514230ee785bbe (diff)
parent987a4a0be9978e568d736801f281791e54928ca3 (diff)
Merge branch 'hash-always-has-type' of github.com:obsidiansystems/nix into better-ca-parse-errors
Diffstat (limited to 'src/libstore/content-address.cc')
-rw-r--r--src/libstore/content-address.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/content-address.cc b/src/libstore/content-address.cc
index 216d7eb03..4599cd924 100644
--- a/src/libstore/content-address.cc
+++ b/src/libstore/content-address.cc
@@ -4,7 +4,7 @@
namespace nix {
std::string FixedOutputHash::printMethodAlgo() const {
- return makeFileIngestionPrefix(method) + printHashType(*hash.type);
+ return makeFileIngestionPrefix(method) + printHashType(hash.type);
}
std::string makeFileIngestionPrefix(const FileIngestionMethod m) {