aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 12:13:43 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 12:14:11 -0500
commitd381248ec0847cacd918480e83a99287f814456a (patch)
treec5e5cc242a8ba61bab6a2e3339a993fd913126fc /src/nix-store
parent85bb865d200f04b73f183af722757c78d5a3be76 (diff)
No inheritance for `TextInfo` and `FixedOutputInfo`
Diffstat (limited to 'src/nix-store')
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index 5b261ecc6..735d6a592 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -216,7 +216,7 @@ static void opPrintFixedPath(Strings opFlags, Strings opArgs)
std::string name = *i++;
cout << fmt("%s\n", store->printStorePath(store->makeFixedOutputPath(name, FixedOutputInfo {
- {
+ .hash = {
.method = method,
.hash = Hash::parseAny(hash, hashAlgo),
},