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 5de1aebfc..81dbc09a6 100644
--- a/src/nix/add-to-store.cc
+++ b/src/nix/add-to-store.cc
@@ -49,7 +49,7 @@ struct CmdAddToStore : MixDryRun, StoreCommand
.method = std::move(ingestionMethod),
.hash = std::move(hash),
},
- /* .references = */ {},
+ .references = {},
},
narHash,
};
diff --git a/src/nix/prefetch.cc b/src/nix/prefetch.cc
index bc270f66d..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 = */ {},
+ .references = {},
});
if (store->isValidPath(*storePath))
hash = expectedHash;
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index 28c7fe32d..5505d8bdd 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -207,7 +207,7 @@ struct ProfileManifest
.method = FileIngestionMethod::Recursive,
.hash = narHash,
},
- /* .references = */ {
+ .references = {
.others = std::move(references),
.self = false,
},