mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-05-02 07:05:38 +02:00
test
This commit is contained in:
parent
dbc20ba213
commit
00d0f4e011
2 changed files with 6 additions and 5 deletions
5
glicid/utils.scm
Normal file
5
glicid/utils.scm
Normal file
|
@ -0,0 +1,5 @@
|
|||
(define-module (glicid utils))
|
||||
;; helper function
|
||||
;; return latest version of 2 packages
|
||||
|
||||
(define-public (latest-version v1 v2) (if (string> (package-version v1) (package-version v2)) v1 v2))
|
Loading…
Add table
Add a link
Reference in a new issue