mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
parent
e4dba0bd01
commit
e8aaced73e
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