From 57ebbc01f001bfd2aea5031371664e4ea7c702fc Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 29 Aug 2022 15:30:33 +0530 Subject: Rename genenetwork 1 container file to genenetwork1.scm. --- gn/services/genenetwork.scm | 33 --------------------------------- gn/services/genenetwork1.scm | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 gn/services/genenetwork.scm create mode 100644 gn/services/genenetwork1.scm (limited to 'gn/services') diff --git a/gn/services/genenetwork.scm b/gn/services/genenetwork.scm deleted file mode 100644 index 9f48ac6..0000000 --- a/gn/services/genenetwork.scm +++ /dev/null @@ -1,33 +0,0 @@ -(define-module (gn services genenetwork)) - -(use-modules (gnu) - (past packages python) - (past packages web) - (gn packages genenetwork) - (gn packages python24) - (gn services gn1-httpd-config)) -(use-service-modules web) - -(operating-system - (host-name "genenetwork") - (timezone "Etc/UTC") - (locale "en_US.utf8") - - (bootloader (bootloader-configuration - (bootloader grub-bootloader) - (targets '("does-not-matter")))) - (file-systems %base-file-systems) - ;; No firmware for VMs - (firmware '()) - (packages (cons* %base-packages)) - (services (list (service special-files-service-type - ;; The genotypes folder doesn't have it's shebangs patched. - `(("/usr/bin/python" ,(file-append python-2.4 "/bin/python")))) - (service httpd-service-type - (httpd-configuration - ;; Must be a httpd-2.2 variant. - (package httpd22-with-mod-python) - (config GN1-httpd-config)))))) - -;; guix system container -L /path/to/guix-past/modules/ -L /path/to/guix-bioinformatics/ /path/to/guix-bioinformatics/gn/services/genenetwork.scm --network --expose=/gnshare/gn/web/genotypes -;; xdg-open http://localhost:8042 diff --git a/gn/services/genenetwork1.scm b/gn/services/genenetwork1.scm new file mode 100644 index 0000000..4e29956 --- /dev/null +++ b/gn/services/genenetwork1.scm @@ -0,0 +1,33 @@ +(define-module (gn services genenetwork1)) + +(use-modules (gnu) + (past packages python) + (past packages web) + (gn packages genenetwork) + (gn packages python24) + (gn services gn1-httpd-config)) +(use-service-modules web) + +(operating-system + (host-name "genenetwork") + (timezone "Etc/UTC") + (locale "en_US.utf8") + + (bootloader (bootloader-configuration + (bootloader grub-bootloader) + (targets '("does-not-matter")))) + (file-systems %base-file-systems) + ;; No firmware for VMs + (firmware '()) + (packages (cons* %base-packages)) + (services (list (service special-files-service-type + ;; The genotypes folder doesn't have it's shebangs patched. + `(("/usr/bin/python" ,(file-append python-2.4 "/bin/python")))) + (service httpd-service-type + (httpd-configuration + ;; Must be a httpd-2.2 variant. + (package httpd22-with-mod-python) + (config GN1-httpd-config)))))) + +;; guix system container -L /path/to/guix-past/modules/ -L /path/to/guix-bioinformatics/ /path/to/guix-bioinformatics/gn/services/genenetwork1.scm --network --expose=/gnshare/gn/web/genotypes +;; xdg-open http://localhost:8042 -- cgit v1.2.3