From 25e1b68c6da8b319e8d4c56238b2759c9f431642 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 30 Dec 2024 02:13:28 +0900 Subject: [PATCH] cmd/fpkg/install: deduplicate nix store Signed-off-by: Ophestra --- cmd/fpkg/install.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/fpkg/install.go b/cmd/fpkg/install.go index 47d4ffc..ed6379a 100644 --- a/cmd/fpkg/install.go +++ b/cmd/fpkg/install.go @@ -163,6 +163,8 @@ func actionInstall(args []string) { "rm -rf .local/state/{nix,home-manager}", // run activation script bundle.ActivationPackage + "/activate", + // deduplicate nix store + "nix store optimise", }, false, func(config *fst.Config) *fst.Config { return config }, bundle, pathSet, dropShellActivate, cleanup) /*