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:
Marcus Sand 2024-09-10 17:28:35 +02:00 committed by GitHub
parent 88cd79fc26
commit d56ef06c2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -505,7 +505,7 @@ viewResultItem nixosChannels channel showInstallDetails show item =
p [] [ text "This package provides no programs." ]
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 =