Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add link to online package viewer #204

Merged
merged 4 commits into from Mar 16, 2020
Merged

Conversation

ShalokShalom
Copy link
Contributor

@ShalokShalom ShalokShalom commented Apr 6, 2018

No description provided.

there is currently NO link to this page, i recommend to add it to the menu also (not in my skill set)
nixpkgs/index.tt Outdated
@@ -1,7 +1,7 @@
[% WRAPPER layout.tt title="The Nix Packages collection" menu='nixpkgs' %]

<p>The <em>Nix Packages collection</em> (Nixpkgs) is a set of nearly
6,500 packages for the Nix package manager, released under a <a
[6,500 packages](https://nixos.org/nixos/packages.html) for the Nix package manager, released under a <a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is HTML, not Markdown!

Hope this is fine now :D
@samueldr
Copy link
Member

If the feature is desired, there is this alternative patch (I can open a PR if wanted):

From e5e3541a0fa3127aa27642e4e56966083a22a049 Mon Sep 17 00:00:00 2001
From: Samuel Dionne-Riel <samuel@dionne-riel.com>
Date: Wed, 10 Oct 2018 18:48:59 -0400
Subject: [PATCH] Adds a link to the packages listing.

---
 nixpkgs/index.tt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/nixpkgs/index.tt b/nixpkgs/index.tt
index 03f312c..fc50c10 100644
--- a/nixpkgs/index.tt
+++ b/nixpkgs/index.tt
@@ -1,7 +1,8 @@
 [% WRAPPER layout.tt title="The Nix Packages collection" menu='nixpkgs' %]
 
 <p>The <em>Nix Packages collection</em> (Nixpkgs) is a set of over
-40&#8201;000  packages for the Nix package manager, released under a <a
+<a href="/nixos/packages.html">40&#8201;000</a> packages for the Nix
+package manager, released under a <a
 href="https://github.com/NixOS/nixpkgs/blob/master/COPYING">permissive
 MIT/X11 license</a>.  It supports the following platforms (though not
 all packages work on all platforms):</p>
-- 
2.18.1

Differences:

  • Absolute link instead of using a full URL; allows following the link locally.
  • Updated with the current count (resolved merge conflict)
  • Re-wrapped the text

- Absolute link instead of using a full URL; allows following the link locally.
- Updated with the current count (resolved merge conflict)
- Re-wrapped the text
@garbas garbas merged commit e2b2722 into NixOS:master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants