mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: barectf: Simplify package.
* gnu/packages/instrumentation.scm (barectf):
[phases]{relax-requirements}: Remove phase.
{set-CC}: Use cc-for-target.
Change-Id: I9240603331863ef412ddc2f872900dafc8bb7390
This commit is contained in:
parent
716769b92e
commit
7450681d57
1 changed files with 1 additions and 11 deletions
|
|
@ -175,20 +175,10 @@ bindings, and the command-line tool @command{babeltrace2}.")
|
|||
(arguments
|
||||
(list #:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-requirements
|
||||
(lambda _
|
||||
;; Remove version constraints as the program appears
|
||||
;; to work (tests pass!) with later versions.
|
||||
;; Try removing these when updating barectf.
|
||||
(substitute* "pyproject.toml"
|
||||
(("pyyaml = '\\^5")
|
||||
"pyyaml = '>=5")
|
||||
(("jsonschema = '\\^3")
|
||||
"jsonschema = '>=3"))))
|
||||
(add-before 'check 'set-CC
|
||||
(lambda _
|
||||
;; Some tests invoke a compiler.
|
||||
(setenv "CC" "gcc"))))))
|
||||
(setenv "CC" #$(cc-for-target)))))))
|
||||
(native-inputs
|
||||
(list python-poetry-core python-pytest-8))
|
||||
(propagated-inputs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue