From 87a87f2c328debd3c2b7ea1766335a7c7113b2d2 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Wed, 22 Mar 2023 14:09:02 +0000 Subject: [PATCH] README.md: add usage instructions --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 8f3ed92..95fd45a 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,25 @@ This package set has the following policy. * The following packages must always build: * BiobaseTypes * BiobaseXNA + +## Updating the Package set + +The package set is generated from the `horizon.dhall` using the following command: + +``` +nix run 'git+https://gitlab.horizon-haskell.net/haskell/horizon-gen-nix?ref=refs/tags/0.10.0' +``` + +If you need to do additional manual overrides to the nix code, such as +`addPkgconfigDepends`, edit the `configuration.nix` overlay, which is applied +afterwards. + +## Programmmatic Updates + +To use `horizon-shell`. + +``` +nix run 'git+https://gitlab.horizon-haskell.net/shells/horizon-shell?ref=refs/tags/0.0.7' +``` + +See the in-shell help for usage. -- GitLab