diff --git a/src/nix/dev-shell.cc b/src/nix/dev-shell.cc index 092ff8b10..337d7750e 100644 --- a/src/nix/dev-shell.cc +++ b/src/nix/dev-shell.cc @@ -136,8 +136,7 @@ StorePath getDerivationEnvironment(ref store, const StorePath & drvPath) Hash h = hashDerivationModulo(*store, drv, true); auto shellOutPath = store->makeOutputPath("out", h, drvName); drv.outputs.insert_or_assign("out", DerivationOutput(shellOutPath.clone(), FileSystemHash { - .method = FileIngestionMethod::Flat, - .hash = Hash { } + FileIngestionMethod::Flat, Hash { } })); drv.env["out"] = store->printStorePath(shellOutPath); auto shellDrvPath2 = writeDerivation(store, drv, drvName);