Archived
1
0
Fork 0

gnu: valgrind: Remove input labels.

* gnu/packages/valgrind.scm (valgrind/interactive)[inputs]: Remove labels.
[arguments]: Adjust accordingly.
This commit is contained in:
Ludovic Courtès 2022-05-09 11:56:59 +02:00
parent 4d1a88312c
commit bb8c5f5205
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -111,8 +111,7 @@ also use Valgrind to build new tools.")
"valgrind-fix-default-debuginfo-path.patch")))) "valgrind-fix-default-debuginfo-path.patch"))))
(inputs (inputs
;; GDB is needed to provide a sane default for `--db-command'. ;; GDB is needed to provide a sane default for `--db-command'.
`(("gdb" ,gdb) (list gdb `(,(canonical-package glibc) "debug")))
("glibc:debug" ,(canonical-package glibc) "debug")))
(arguments (arguments
(substitute-keyword-arguments (package-arguments valgrind) (substitute-keyword-arguments (package-arguments valgrind)
((#:phases phases #~%standard-phases) ((#:phases phases #~%standard-phases)
@ -126,7 +125,7 @@ also use Valgrind to build new tools.")
;; TODO: Remove on the next rebuild cycle, when libc is not ;; TODO: Remove on the next rebuild cycle, when libc is not
;; longer fully stripped. ;; longer fully stripped.
(define libc-debug (define libc-debug
(string-append (assoc-ref inputs "glibc:debug") (string-append (ungexp (this-package-input "glibc") "debug")
"/lib/debug")) "/lib/debug"))
(substitute* '("coregrind/m_debuginfo/readelf.c" (substitute* '("coregrind/m_debuginfo/readelf.c"