mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 06:08:37 +02:00
now use a function…
This commit is contained in:
parent
5cde355a83
commit
f2c197c92c
1 changed files with 4 additions and 2 deletions
|
@ -92,6 +92,9 @@
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; helper function
|
||||||
|
(define (latest-version v1 v2) (if (string> (package-version v1) (package-version v2)) v1 v2))
|
||||||
|
|
||||||
|
|
||||||
;;;;;;;;
|
;;;;;;;;
|
||||||
|
|
||||||
|
@ -118,8 +121,7 @@
|
||||||
|
|
||||||
(define-public glicid-keepalived
|
(define-public glicid-keepalived
|
||||||
(package
|
(package
|
||||||
(inherit (if (string> (package-version keepalived) (package-version gnu:keepalived)) keepalived gnu:keepalived))
|
(inherit (latest-version keepalived gnu:keepalived))
|
||||||
|
|
||||||
(name "glicid-keepalived")
|
(name "glicid-keepalived")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
|
|
Loading…
Add table
Reference in a new issue