aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix.scm')
-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))))