From c1d4a9a7c410f5dfb0737aa69cd68342cb6154de Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 7 May 2025 10:25:48 +0300 Subject: Verify that the profile has the guix-bioinformatic channel. Signed-off-by: Munyoki Kilyungi --- genenetwork-local-container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1