diff options
author | Frederick Muriuki Muriithi | 2024-11-19 12:24:12 -0600 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-11-19 12:47:34 -0600 |
commit | 798e2adce714d8ed21092f558bebfb0d344b12dd (patch) | |
tree | 7ce163fff3e99746d050fdf46cca4f26eabce8bb /.guix | |
parent | 61868ebf68181f456fa59be2c638f1d57a83ac9d (diff) | |
download | gn-guile-main.tar.gz |
* .guix-channel: Specify this channel's details. Add
"guix-bioinformatics" channel as a dependency.
* .guix/modules/gn-guile.scm: Inherit package definition from the
guix-bioinformatics definition of this package.
* guix.scm: Symlink to .guix/modules/gn-guile.scm
Diffstat (limited to '.guix')
-rw-r--r-- | .guix/modules/gn-guile.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.guix/modules/gn-guile.scm b/.guix/modules/gn-guile.scm new file mode 100644 index 0000000..03f2b14 --- /dev/null +++ b/.guix/modules/gn-guile.scm @@ -0,0 +1,34 @@ +;; To use this file to build HEAD of gn-guile: +;; +;; guix build -f guix.scm +;; +;; To get a development container +;; +;; guix shell -C -D -f guix.scm +;; + +(define-module (gn-guile) + #:use-module ((gn packages guile) #:select (gn-guile) #:prefix gn:) + #:use-module (guix gexp) + #:use-module (guix utils) + #:use-module (guix packages) + #:use-module (guix git-download)) + +(define %source-dir (dirname (dirname (current-source-directory)))) + +(define vcs-file? + (or (git-predicate %source-dir) + (const #t))) + +(define-public gn-guile + (package + (inherit gn:gn-guile) + (source + (local-file "../.." + "gn-guile-checkout" + #:recursive? #t + #:select? vcs-file?)))) + +;; Add definition for tests should you need it, here. + +gn-guile |