This commit is contained in:
Yann Dupont 2021-11-02 22:23:00 +01:00
parent dbc20ba213
commit 00d0f4e011
2 changed files with 6 additions and 5 deletions

5
glicid/utils.scm Normal file
View 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))