mirror of
https://github.com/NixOS/nixos-search
synced 2024-11-10 06:04:18 +00:00
feat(Packages.elm): sort provided programs for packages (#821)
The provided programs with a package were not sorted, making it hard to figure out which programs were included in programs with 20+ programs in random order.
This commit is contained in:
parent
88cd79fc26
commit
d56ef06c2e
1 changed files with 1 additions and 1 deletions
|
@ -505,7 +505,7 @@ viewResultItem nixosChannels channel showInstallDetails show item =
|
||||||
p [] [ text "This package provides no programs." ]
|
p [] [ text "This package provides no programs." ]
|
||||||
|
|
||||||
else
|
else
|
||||||
p [] (List.intersperse (text " ") (List.map (\p -> code [] [ text p ]) item.source.programs))
|
p [] (List.intersperse (text " ") (List.map (\p -> code [] [ text p ]) (List.sort item.source.programs)))
|
||||||
]
|
]
|
||||||
|
|
||||||
longerPackageDetails =
|
longerPackageDetails =
|
||||||
|
|
Loading…
Reference in a new issue