aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-01-04 11:54:29 +0530
committerArun Isaac2022-01-04 12:10:57 +0530
commit20f4bee668a90a24d0ddac7752ba19ab38619a1f (patch)
treeaa035a55c5fbfd5b0381bd44aad59182c9acc071
parentdf6dd5a3e1015ce24831587c841dfacc9023fad8 (diff)
downloadgenenetwork2-20f4bee668a90a24d0ddac7752ba19ab38619a1f.tar.gz
guix.scm: Add guix.scm.
* guix.scm: New file.
-rw-r--r--guix.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/guix.scm b/guix.scm
new file mode 100644
index 00000000..9352c7c5
--- /dev/null
+++ b/guix.scm
@@ -0,0 +1,24 @@
+;; Make sure you have the
+;; https://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics
+;; channel set up.
+;;
+;; To drop into a development environment, run
+;;
+;; guix shell -Df guix.scm
+;;
+;; To get a development environment in a container, run
+;;
+;; guix shell -C -Df guix.scm
+
+(use-modules (gn packages genenetwork)
+ (guix gexp)
+ (guix git-download)
+ (guix packages))
+
+(define %source-dir (dirname (current-filename)))
+
+(package
+ (inherit genenetwork3)
+ (source (local-file %source-dir "genenetwork3-checkout"
+ #:recursive? #t
+ #:select? (git-predicate %source-dir))))