Archived
1
0
Fork 0

gnu: gdb: Normalize indentation.

* gnu/packages/gdb.scm (gdb-10): Fix indentation and remove extraneous
newlines.  Remove trailing #t.
(gdb-minimal): Fix indentation.
This commit is contained in:
Maxim Cournoyer 2021-10-14 21:04:42 -04:00
parent 41f058d10d
commit 8a613f9d4e
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -62,12 +62,9 @@
(outputs '("out" "debug"))
(arguments
`(#:tests? #f ; FIXME "make check" fails on single-processor systems.
#:out-of-source? #t
#:modules ((srfi srfi-1)
,@%gnu-build-system-modules)
#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda* (#:key inputs #:allow-other-keys)
@ -77,14 +74,11 @@
"gdbsupport/pathstuff.cc")
(("\"/bin/sh\"")
(format #f "~s" sh))))))
(add-after
'configure 'post-configure
(add-after 'configure 'post-configure
(lambda _
(for-each patch-makefile-SHELL
(find-files "." "Makefile\\.in"))
#t))
(add-after
'install 'remove-libs-already-in-binutils
(find-files "." "Makefile\\.in"))))
(add-after 'install 'remove-libs-already-in-binutils
(lambda* (#:key native-inputs inputs outputs
#:allow-other-keys)
;; Like Binutils, GDB installs libbfd, libopcodes, etc.
@ -103,8 +97,7 @@
(common (lset-intersection string=?
files1 files2)))
(with-directory-excursion out
(for-each delete-file common)
#t)))))))
(for-each delete-file common))))))))
(inputs
`(("bash" ,bash)
("expat" ,expat)
@ -187,8 +180,7 @@ written in C, C++, Ada, Objective-C, Pascal and more.")
gdb-10)
(define-public gdb-minimal
(package/inherit
gdb
(package/inherit gdb
(name "gdb-minimal")
(inputs (fold alist-delete (package-inputs gdb)
'("libxml2" "ncurses" "python-wrapper" "source-highlight")))))