diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-01-24 19:53:05 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-02-07 12:28:41 +0100 |
| commit | d6f61b453f42b07837b60aa2e2044f68bf97ca6b (patch) | |
| tree | 19ccf9f2d87dae072e4c04bdc618f673cdaca281 /gnu/packages | |
| parent | f6daec59b221dd03a4bd29817c93d45088e0a391 (diff) | |
gnu: barectf: Simplify package.
* gnu/packages/instrumentation.scm (barectf):
[phases]{relax-requirements}: Remove phase.
{set-CC}: Use cc-for-target.
Change-Id: I9240603331863ef412ddc2f872900dafc8bb7390
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/instrumentation.scm | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm index 4e634e73b84..6f70f5eab0c 100644 --- a/gnu/packages/instrumentation.scm +++ b/gnu/packages/instrumentation.scm @@ -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 |
