From c4b2a854e70177489799697dc9854cecc4dddad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Tue, 11 Jun 2024 23:32:39 +0200 Subject: [PATCH] frontend: Show nixpkgs tree instead of commit (#794) --- frontend/src/Search.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Search.elm b/frontend/src/Search.elm index 962b141..f39d703 100644 --- a/frontend/src/Search.elm +++ b/frontend/src/Search.elm @@ -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 "." ]