Browse Source

gitea: configure guix channels

master
Efraim Flashner 9 months ago
committed by Shepherd
parent
commit
370c52bdcc
  1. 16
      gitea-channels.scm
  2. 5
      run_gitea-dump.sh
  3. 5
      run_gitea.sh

16
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")))))

5
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'

5
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'

Loading…
Cancel
Save