aboutsummaryrefslogtreecommitdiff
path: root/.guix/modules
diff options
context:
space:
mode:
authorArun Isaac2023-12-22 12:45:56 +0000
committerArun Isaac2023-12-22 12:46:52 +0000
commitc4d35caa885034015aa1d719e9c45edea222a30f (patch)
treeca7d36e6a29ab23136ae2f6e0f8f093046066eb1 /.guix/modules
parent9852b49fb4e16787e4b0496c0ca81c14cc53f4d9 (diff)
downloadgenenetwork2-c4d35caa885034015aa1d719e9c45edea222a30f.tar.gz
guix: Do not fix version of package.
Diffstat (limited to '.guix/modules')
-rw-r--r--.guix/modules/genenetwork2.scm19
1 files changed, 4 insertions, 15 deletions
diff --git a/.guix/modules/genenetwork2.scm b/.guix/modules/genenetwork2.scm
index 6ab4c26c..220ebd38 100644
--- a/.guix/modules/genenetwork2.scm
+++ b/.guix/modules/genenetwork2.scm
@@ -12,7 +12,7 @@
(define-module (genenetwork2)
#:use-module ((gn packages genenetwork)
- #:select (genenetwork2))
+ #:select (genenetwork2) #:prefix gn:)
#:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (guix git-download)
@@ -22,23 +22,12 @@
(string-append (current-source-directory)
"/../.."))
-;; This isn't kept up-to-date.
-(define %version
- (call-with-input-file (string-append %source-dir "/VERSION")
- (lambda (port)
- (read-line port))))
-
-(define (%version package)
- (or (version-major+minor+point (package-version package))
- (version-major+minor (package-version package))))
-
-(define-public genenetwork2-head
+(define-public genenetwork2
(package
- (inherit genenetwork2)
- (version (string-append (%version genenetwork2) "-HEAD"))
+ (inherit gn:genenetwork2)
(source (local-file %source-dir "genenetwork2-checkout"
#:recursive? #t
#:select? (or (git-predicate %source-dir)
(const #t))))))
-genenetwork2-head
+genenetwork2