aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-05-26 12:51:28 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-05-26 12:51:28 -0400
commitf3f520c14ca0316f9e6333fbe939a277e5d78d1b (patch)
treebf56a30a11fba90b971f24e67e07e3bc2d7993e2
parent89a5ac9d3ba24b8af77fb91d5487e309d9402c1b (diff)
Change syntax for CI
-rw-r--r--src/nix/dev-shell.cc3
1 files changed, 1 insertions, 2 deletions
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> 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);