diff options
author | Munyoki Kilyungi | 2025-05-07 10:25:48 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2025-05-07 10:25:48 +0300 |
commit | c1d4a9a7c410f5dfb0737aa69cd68342cb6154de (patch) | |
tree | ee46af03a69cf30b92317c5293b57aa30688a45d | |
parent | 8bbf8532269da83f30154c6d92c7c69e586231f5 (diff) | |
download | gn-machines-c1d4a9a7c410f5dfb0737aa69cd68342cb6154de.tar.gz |
Verify that the profile has the guix-bioinformatic channel.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | genenetwork-local-container.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/genenetwork-local-container.sh b/genenetwork-local-container.sh index 2bbe529..bbdf01c 100755 --- a/genenetwork-local-container.sh +++ b/genenetwork-local-container.sh @@ -74,7 +74,7 @@ for cmd in git guix sudo diff cp grep; do done # Check for gn-bioinformatics channel -guix describe | grep gn-bioinformatics &> /dev/null && log "INFO" "guix guix-informatics $(guix describe | grep gn-bioinformatics | cut -d ' ' -f 4)" || log "ERROR" "Please make sure your current profile has gn-bioinformatics" +guix describe | grep gn-bioinformatics &> /dev/null && log "INFO" "guix guix-informatics $(guix describe | grep gn-bioinformatics | cut -d ' ' -f 4)" || (log "ERROR" "Please make sure your current profile has gn-bioinformatics" && exit 1) # Validate HOME is set if [ -z "${HOME:-}" ]; then |