· Change language (Currently: English)

Guix Packages Website 0.3.0

December 26, 2024 14:55 -0500

Yesterday I released version 0.3.0 of a software running in Guix's domains: https://packages.guix.gnu.org/. Its purpose is to allow people to search for packages provided by Guix's own channel(s).

This version comes with the following changes:

❶ The website now inspects an environment variable indicating the domain name used in the production environment:

GUIX_PACKAGES_WEBSITE_DOMAIN_NAME="packages.mysite.net"

❷ The search component is now available by default in the global navigation bar.

Figure 1
Figure 1. Screenshot of speed-dreams's package page displaying the search component in the navigation bar.

❸ Package detail pages now list the different outputs provided by a package and instruct briefly how to install them.

Figure 2
Figure 2. Screenshot of git's package page displaying the new Outputs field and instructions on how to use them in the Installation section.

❹ Package badges now use the right domain name in their examples.

Figure 3

Figure 3
Figure 3. Above, a screenshot of blender's product page displaying a badge of its latest version available in Guix. The badge's sharing code points to a local IP address when running the software in a development environment. Below, a screenshot of the same page but while the software is running in an environment where the variable GUIX_PACKAGES_WEBSITE_DOMAIN_NAME has been assigned a specific domain name.

❺ The software now responds with custom pages for HTTP status codes 4XX-5XX.

Figure 4
Figure 4. Screenshot of a response with status code 404.

❻ The repository now contains instructions on how to deploy the software to GNU Guix infrastructure.

Figure 5
Figure 5. Screenshot of a fragment of the new section titled Deploying to the GNU Guix infrastructure.

This is a free software project (in the public domain, even). The source files are available in Codeberg.org. If you're interested and would like to help develop it, you can contact me directly, or use the project's issue tracking system, or Guix's own communication channels.

Related topics: