diff options
author | Pjotr Prins | 2022-09-28 16:03:45 -0500 |
---|---|---|
committer | Pjotr Prins | 2022-09-28 16:04:48 -0500 |
commit | 2c0c65a38c66b3eb1bb2e409c57b1e536f2181e8 (patch) | |
tree | c1974d21620de9a75cd8b74af3ad8e69923054a1 /topics | |
parent | c9b102a459bc11be39ac20fa15539c3e2628d918 (diff) | |
download | gn-gemtext-2c0c65a38c66b3eb1bb2e409c57b1e536f2181e8.tar.gz |
Updated information on building a guix profile using a channel on production
* topics/guix-profiles.gmi: updated
Diffstat (limited to 'topics')
-rw-r--r-- | topics/guix-profiles.gmi | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/topics/guix-profiles.gmi b/topics/guix-profiles.gmi index 62abbba..efe6891 100644 --- a/topics/guix-profiles.gmi +++ b/topics/guix-profiles.gmi @@ -2,17 +2,27 @@ ## Executive summary -Put the following into a channels.scm file. +To build guix profiles that can run GN2+GN3 we use a so-called channel. + +Note that a recently tested channel can be fetched from cd.genenetwork.org. That should include the recent git hash values. + +Alternatively put the following into a channels.scm file. ``` (list (channel (name 'gn-bioinformatics) - (url "https://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics") + (url "https://gitlab.com/genenetwork/guix-bioinformatics") + ;; (url "https://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics") (branch "master"))) ``` Build a profile using ``` $ guix pull -C channels.scm -p ~/.guix-extra-profiles/genenetwork ``` +On production we do +``` +tux01:~$ ~/opt/guix-pull/bin/guix pull -C channels-latest.scm -p /usr/local/guix-profiles/gn-latest-20220928 +``` + Activate the newly built profile using ``` $ export GUIX_PROFILE=~/.guix-extra-profiles/genenetwork @@ -27,3 +37,7 @@ From time to time, updates to upstream Guix break our guix-bioinformatics channe To this end, we hard-code the guix-bioinformatics channel to depend on a specific commit of upstream Guix. This is why the recommended channels.scm file above does not include a %default-guix-channel. However, this comes with the drawback that your entire system will be stuck at that specific commit of upstream Guix. You will not be able to move forward until we decide to update the hard-coded upstream Guix commit in guix-bioinformatics. You may have other work that needs the latest Guix and this might not be what you want. So, we highly recommend using a separate `guix pull` profile specifically for GeneNetwork work, as described above. This scheme also comes with the added bonus that all members on the team and the continuous integration system will be using exactly the same Guix. + +## Notes + +We recently had to switch to gitlab because our git server went down on Penguin2. |