aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gitea-channels.scm16
-rwxr-xr-xrun_gitea-dump.sh5
-rwxr-xr-xrun_gitea.sh5
3 files changed, 24 insertions, 2 deletions
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'