[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: gnu: lablgtk3: Install with version information.
From: |
guix-commits |
Subject: |
02/04: gnu: lablgtk3: Install with version information. |
Date: |
Sat, 31 Jul 2021 17:06:42 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 3589c1755602b3315b112c9a04789e7934b07a7d
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Mon Jul 5 17:52:03 2021 +0200
gnu: lablgtk3: Install with version information.
This is required so recent versions of coq can check version
requirements.
* gnu/packages/ocaml.scm (lablgtk3)[arguments]: Ensure version is added
to the META file.
---
gnu/packages/ocaml.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f75755c..bf92424 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6902,8 +6902,12 @@ support for Mparser.")))
(lambda _
(for-each (lambda (file)
(chmod file #o644))
- (find-files "." "."))
- #t)))))
+ (find-files "." "."))))
+ (add-before 'build 'set-version
+ (lambda _
+ (substitute* "dune-project"
+ (("\\(name lablgtk3\\)")
+ (string-append "(name lablgtk3)\n(version " ,version
")"))))))))
(propagated-inputs
`(("ocaml-cairo2" ,ocaml-cairo2)))
(inputs