From 32bb7a2ace8eff5c5764765849b910752db5f44c Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 18 Dec 2023 23:05:17 +0100 Subject: [PATCH] home-manager: sort list packages output Fixes #4788 --- home-manager/home-manager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home-manager/home-manager b/home-manager/home-manager index 2549cc57d..576868cd7 100644 --- a/home-manager/home-manager +++ b/home-manager/home-manager @@ -722,7 +722,7 @@ function doListPackages() { local outPath outPath="$($LIST_OUTPATH_CMD | grep -o '/.*home-manager-path$')" if [[ -n "$outPath" ]] ; then - nix-store -q --references "$outPath" | sed 's/[^-]*-//' + nix-store -q --references "$outPath" | sed 's/[^-]*-//' | sort --ignore-case else _i 'No home-manager packages seem to be installed.' >&2 fi