[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72106] [PATCH v3 1/5] gnu: klee: Wrap klee-stats for Python depende
From: |
Liliana Marie Prikler |
Subject: |
[bug#72106] [PATCH v3 1/5] gnu: klee: Wrap klee-stats for Python dependencies. |
Date: |
Fri, 26 Jul 2024 20:37:33 +0200 |
User-agent: |
Evolution 3.48.4 |
Am Donnerstag, dem 25.07.2024 um 22:39 +0200 schrieb
soeren@soeren-tempel.net:
> From: Sören Tempel <soeren@soeren-tempel.net>
>
> * gnu/packages/check.scm (klee): Wrap klee-stats.
> ---
> gnu/packages/check.scm | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
> index 412b94569c..3c5ed7a3c3 100644
> --- a/gnu/packages/check.scm
> +++ b/gnu/packages/check.scm
> @@ -1070,7 +1070,15 @@ (define-public klee
> (substitute* "CMakeLists.txt"
>
> (("\\$\\{KLEE_UCLIBC_PATH\\}/lib/libc\\.a")
> "${KLEE_UCLIBC_PATH}"))))
> - (add-after 'install 'wrap-hooks
> + (add-after 'install 'wrap-klee-stats
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (bin (string-append out "/bin")))
> + (wrap-program (string-append bin "/klee-
> stats")
> + `("GUIX_PYTHONPATH" ":" prefix
> + ,(search-path-as-string->list
> + (getenv "GUIX_PYTHONPATH")))))))
> + (add-after 'install 'wrap-klee
> (lambda* (#:key inputs outputs #:allow-
> other-keys)
> (let* ((out (assoc-ref outputs "out"))
> (bin (string-append out "/bin"))
Why not consolidate these into a single 'wrap phase?
Cheers