aboutsummaryrefslogtreecommitdiff
path: root/guix.scm
diff options
context:
space:
mode:
authorArun Isaac2022-01-04 11:54:29 +0530
committerArun Isaac2022-01-06 10:01:05 +0530
commit1bcbdfb6a659acf888fee40cb4033752e59e4b2c (patch)
treed22261d836a173898163a56078b89e9dabd7c4e0 /guix.scm
parentff9a6968af326c4c5480b1245e56f6d574b52ef7 (diff)
downloadgenenetwork2-1bcbdfb6a659acf888fee40cb4033752e59e4b2c.tar.gz
guix.scm: Add guix.scm.
* guix.scm: New file.
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))))