diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-19 14:58:30 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-19 14:58:30 +0000 |
commit | 145d88cb2a160871968285fb1898732090f4e14c (patch) | |
tree | cecec6da9e8e70b3969abffc340e9cb492373e22 /src/nix | |
parent | 237d88c97e1f08f8c1513261ac5fea847d5917ff (diff) |
Use designated initializers for `DerivationOutputHash`
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/develop.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 0845c65fa..8b85caf82 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -138,7 +138,8 @@ StorePath getDerivationEnvironment(ref<Store> store, const StorePath & drvPath) drv.outputs.insert_or_assign("out", DerivationOutput { .path = shellOutPath, .hash = DerivationOutputHash { - FileIngestionMethod::Flat, Hash { } + .method = FileIngestionMethod::Flat, + .hash = Hash { }, }, }); drv.env["out"] = store->printStorePath(shellOutPath); |