From 396aed0ca760bc3073abee634d56d141525af1f0 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sat, 28 Aug 2021 09:09:17 +0200 Subject: Add explanation of using a guix profile --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index c3a9848..66c780d 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,30 @@ and try again. See also instructions in [.guix.scm](.guix.scm). +#### Using a Guix profile (or rolling back) + +Create a new profile with + +``` +env GUIX_PACKAGE_PATH=~/guix-bioinformatics/ ~/.config/guix/current/bin/guix package -i genenetwork3 -p ~/opt/genenetwork3 +``` + +and load the profile settings with + +``` +source ~/opt/genenetwork3/etc/profile +start server... +``` + +Note that GN2 profiles include the GN3 profile (!). To roll genenetwork3 back you can use either in the same fashion (probably best to start a new shell first) + +``` +bash +source ~/opt/genenetwork2-older-version/etc/profile +set|grep store +run tests, server etc... +``` + #### Running Tests (assuming you are in a guix container; otherwise use venv!) -- cgit v1.2.3