aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fpkg/install.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/fpkg/install.go b/cmd/fpkg/install.go
index 47d4ffce..7c06461d 100644
--- a/cmd/fpkg/install.go
+++ b/cmd/fpkg/install.go
@@ -139,6 +139,8 @@ func actionInstall(args []string) {
"cp -dRf /nix nix",
// copy from binary cache
"nix copy --offline --no-check-sigs --all --from file://$BUNDLE/res --to $PWD",
+ // deduplicate nix store
+ "nix store --offline --store $PWD optimise",
// make cache directory world-readable for autoetc
"chmod 0755 .",
}, workDir, bundle, pathSet, dropShellInstall, cleanup)