frontend: Show nixpkgs tree instead of commit (#794)
Some checks failed
Build flake-info / build-flake-info (push) Failing after 12s
Frontend: Build & Deploy to Netlify / build-and-deploy (push) Failing after 7s

This commit is contained in:
Janne Heß 2024-06-11 23:32:39 +02:00 committed by GitHub
parent 01ce288a54
commit c4b2a854e7
Failed to generate hash of commit

View file

@ -1078,7 +1078,7 @@ viewResults nixosChannels model result viewSuccess _ outMsg categoryName =
Just commit ->
[
text "Data from nixpkgs "
, a [ href ("https://github.com/NixOS/nixpkgs/commit/" ++ commit) ]
, a [ href ("https://github.com/NixOS/nixpkgs/tree/" ++ commit) ]
[ (code [] [ text (String.slice 0 8 commit) ]) ]
, text "."
]