mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 21:29:48 +01:00
parent
32a4186681
commit
32bb7a2ace
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ function doListPackages() {
|
||||||
local outPath
|
local outPath
|
||||||
outPath="$($LIST_OUTPATH_CMD | grep -o '/.*home-manager-path$')"
|
outPath="$($LIST_OUTPATH_CMD | grep -o '/.*home-manager-path$')"
|
||||||
if [[ -n "$outPath" ]] ; then
|
if [[ -n "$outPath" ]] ; then
|
||||||
nix-store -q --references "$outPath" | sed 's/[^-]*-//'
|
nix-store -q --references "$outPath" | sed 's/[^-]*-//' | sort --ignore-case
|
||||||
else
|
else
|
||||||
_i 'No home-manager packages seem to be installed.' >&2
|
_i 'No home-manager packages seem to be installed.' >&2
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue