aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/add-to-store.cc2
-rw-r--r--src/nix/prefetch.cc2
-rw-r--r--src/nix/profile.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/add-to-store.cc b/src/nix/add-to-store.cc
index c2494dc9f..0b58818c3 100644
--- a/src/nix/add-to-store.cc
+++ b/src/nix/add-to-store.cc
@@ -50,7 +50,7 @@ struct CmdAddToStore : MixDryRun, StoreCommand
.method = std::move(ingestionMethod),
.hash = std::move(hash),
},
- {},
+ .references = {},
},
},
narHash,
diff --git a/src/nix/prefetch.cc b/src/nix/prefetch.cc
index aa302efc1..df9933d29 100644
--- a/src/nix/prefetch.cc
+++ b/src/nix/prefetch.cc
@@ -72,7 +72,7 @@ std::tuple<StorePath, Hash> prefetchFile(
.method = ingestionMethod,
.hash = *expectedHash,
},
- {},
+ .references = {},
});
if (store->isValidPath(*storePath))
hash = expectedHash;
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index 024849e3b..614a37eba 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -205,7 +205,7 @@ struct ProfileManifest
.method = FileIngestionMethod::Recursive,
.hash = narHash,
},
- { references },
+ .references = { references },
},
},
narHash,