From 370c52bdcc15831463723e047e210fc43a284667 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 2 Nov 2021 10:18:49 +0000 Subject: gitea: configure guix channels --- gitea-channels.scm | 16 ++++++++++++++++ run_gitea-dump.sh | 5 ++++- run_gitea.sh | 5 ++++- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 gitea-channels.scm diff --git a/gitea-channels.scm b/gitea-channels.scm new file mode 100644 index 0000000..ae0c7e4 --- /dev/null +++ b/gitea-channels.scm @@ -0,0 +1,16 @@ +(list + (channel + (name 'gn-bioinformatics) + (url "http://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics") + (commit + "82d0c5cc939f98adf597404adaef81ec0537d52a")) + (channel + (name 'guix) + (url "https://git.savannah.gnu.org/git/guix.git") + (commit + "5fbeb09f911fb04dbce43282e27fce9d04d6b9b9") + (introduction + (make-channel-introduction + "9edb3f66fd807b096b48283debdcddccfea34bad" + (openpgp-fingerprint + "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) diff --git a/run_gitea-dump.sh b/run_gitea-dump.sh index bcc4840..e429670 100755 --- a/run_gitea-dump.sh +++ b/run_gitea-dump.sh @@ -1,2 +1,5 @@ #!/bin/sh -/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea $(/home/shepherd/guix-profiles/gitea/bin/guix build -L /home/shepherd/guix-bioinformatics gitea)/bin/gitea dump --verbose' +# This version for the gitea guix profile which includes guix-bioinformatics, using gitea-channels.scm. +/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea /home/shepherd/guix-profiles/gitea/bin/guix environment --ad-hoc gitea -- gitea dump --verbose' + +#/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea $(/home/shepherd/guix-profiles/gitea/bin/guix build -L /home/shepherd/guix-bioinformatics gitea)/bin/gitea dump --verbose' diff --git a/run_gitea.sh b/run_gitea.sh index 40d4f73..472bef4 100755 --- a/run_gitea.sh +++ b/run_gitea.sh @@ -1,2 +1,5 @@ #!/bin/sh -/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea $(/home/shepherd/guix-profiles/gitea/bin/guix build -L /home/shepherd/guix-bioinformatics gitea)/bin/gitea --port 3300' +# This version for the gitea guix profile which includes guix-bioinformatics, using gitea-channels.scm. +/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea /home/shepherd/guix-profiles/gitea/bin/guix environment --ad-hoc gitea -- gitea --port 3300' + +#/bin/su -l gitea -c 'GITEA_WORK_DIR=/export/git/gitea HOME=/export/git/gitea $(/home/shepherd/guix-profiles/gitea/bin/guix build -L /home/shepherd/guix-bioinformatics gitea)/bin/gitea --port 3300' -- cgit v1.2.3