aboutsummaryrefslogtreecommitdiff
path: root/tojo-tokyo/packages
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2022-08-17 16:51:10 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2022-08-17 16:51:30 +0900
commit845a12e73d86c204b387fdb887eba5ae3ed76891 (patch)
treed579ddad46472a18857193328781330c08d6217e /tojo-tokyo/packages
parentae392a9c74e7db607d50da8e2bc25df1e41c33cf (diff)
ci: lamianr-next: LAMINAR_VRSION を上書きする
Diffstat (limited to 'tojo-tokyo/packages')
-rw-r--r--tojo-tokyo/packages/ci.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/tojo-tokyo/packages/ci.scm b/tojo-tokyo/packages/ci.scm
index 020fe32..c228059 100644
--- a/tojo-tokyo/packages/ci.scm
+++ b/tojo-tokyo/packages/ci.scm
@@ -19,7 +19,9 @@
(define-module (tojo-tokyo packages ci)
#:use-module (gnu packages ci)
#:use-module (guix packages)
- #:use-module (guix download))
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix utils))
(define-public laminar-next
(package
@@ -34,4 +36,12 @@
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0vcgpp8g67mlhqnyhkihxz9j5jz1pal79jrdhnmjl5ddbhkvji8i"))))))
+ "0vcgpp8g67mlhqnyhkihxz9j5jz1pal79jrdhnmjl5ddbhkvji8i"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments laminar)
+ ((#:configure-flags flags #~'())
+ #~(map (lambda (x)
+ (cond ((string-prefix? "-DLAMINAR_VERSION=" x)
+ (string-append "-DLAMINAR_VERSION=" #$version))
+ (else x)))
+ #$flags))))))