Skip to content

Commit 606c258

Browse files
committed
Fix computeStorePath() default argument
1 parent ef8218f commit 606c258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstore/include/nix/store/store-dir-config.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ struct StoreDirConfig
9191
std::pair<StorePath, Hash> computeStorePath(
9292
std::string_view name,
9393
const SourcePath & path,
94-
ContentAddressMethod method = FileIngestionMethod::NixArchive,
94+
ContentAddressMethod method = ContentAddressMethod::Raw::NixArchive,
9595
HashAlgorithm hashAlgo = HashAlgorithm::SHA256,
9696
const StorePathSet & references = {},
9797
PathFilter & filter = defaultPathFilter) const;

0 commit comments

Comments
 (0)