GNU Guix package definitions for Gov.uk software and systems
source link: https://www.tuicool.com/articles/QBv2Y3m
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
This repository contains Guix package, service and system definitions for software and systems specifically related to GOV.UK .
Getting started
See doc/installation.md for a full list of prerequisites and steps . The most reliable way to run the included scripts is via the included govuk script. The bin directory can be added to your PATH for easy access, for example:
export PATH="$PATH:$PWD/bin"
Local Development
You can use govuk-guix to run GOV.UK services on your computer, for example, to start a system with the Short URL Manager, Specialist Publisher and any of their dependencies, you would run:
govuk system start short-url-manager specialist-publisher
To find out more, read the documentation on local development .
Local Data
You can use govuk-guix to list and load data downloaded through the replication scripts in the govuk-puppet repository, for example, to load the data for the short-url-manager service, you would run:
govuk data load short-url-manager
To find out more, read the documentation on local data .
Why Guix?
GNU Guix (abbreviated to Guix) (IPA: ɡiːks ) is a package manager, and associated free software distribution, for the GNU system .
Guix is a state of the art package manager, providing many features, such as reproducible build environments, unprivileged package management, transparent source/binary deployment and per-user profiles.
The design and low level mechanisms of Guix come from the Nix package manager, on top of which Guix provides a hackable set of tooling using Guile.
This project leverages Guix, building on top of its tooling to provide packages, services and systems relevant to GOV.UK.
Hacking
When developing locally, you may find it useful to use a local copy of GNU Guix, this can be done by setting the GDS_GNU_GUIX_MODULE_PATH environment variable, for example:
export GDS_GNU_GUIX_MODULE_PATH="../gnu-guix"
The value of GDS_GNU_GUIX_MODULE_PATH will be prepended to the GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH.
To replace the package source for the guix package within the govuk-guix repository, you can set the GDS_GNU_GUIX_PATH environment variable.
export GDS_GNU_GUIX_PATH="../gnu-guix"
Recommend
-
48
Pierre Neidhardt — October 10, 2018 Introduction GNU Guix stands out as the hackable package manager, mostly because it usesGNU Guile, a powerful high-level programming language, one of th...
-
41
-
15
Yesterday (2019-10-19), I attempted to install the GNU Guix distribution on my main laptop (Thinkpad x230, second hand). I had high expectations coming from Debian Buster, and I’m sad to report, that wh...
-
14
Have you ever installed an application on a computer, a smartphone or your favourite smart device? Can you trust that it does its job instead of doing the opposite of what it displays on screen or, worse, compromise your...
-
12
Jan (janneke) Nieuwenhuizen — June 15, 2020 We are delighted to announce that the second reduction by 50% of the Guix bootstrap binaries has now been officially released! The initial set of bina...
-
6
using the hardware you have, even if we are nonfreePublished July 25, 2019 #freesoftware
-
5
-*- mode: org -*- About Emacs-Guix (aka guix.el) provides various features and tools for GNU Guix package manager. It allows you to manage your...
-
4
From ‘guix environment’ to ‘guix shell’ — 2021 — Blog — GNU GuixYour location:Home → Blog →
-
12
I Love Arch, But GNU Guix Is My New Distro I wrote recently about building my new gaming desktop where, if you...
-
6
Online conference February 19-20. Watch the pre-recorded talks.Join us! Learn
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK