gnu: Add a "debug" output for some packages.

* gnu/packages/base.scm (coreutils, gnu-make, glibc): Add a "debug" output.
* gnu/packages/bdw-gc.scm (libgc): Likewise.
* gnu/packages/guile.scm (guile-2.0): Likewise.
* gnu/packages/libffi.scm (libffi): Likewise.
* gnu/packages/multiprecision.scm (gmp, mpfr, mpc): Likewise.
This commit is contained in:
Ludovic Courtès 2013-07-03 23:55:04 +02:00
parent be58d01a7e
commit 9bf62d9b1d
5 changed files with 10 additions and 1 deletions

View File

@ -279,6 +279,7 @@ The tools supplied with this package are:
,@(if (%current-target-system) ,@(if (%current-target-system)
'() '()
`(("perl" ,perl))))) `(("perl" ,perl)))))
(outputs '("out" "debug"))
(arguments (arguments
`(#:parallel-build? #f ; help2man may be called too early `(#:parallel-build? #f ; help2man may be called too early
#:phases (alist-cons-before #:phases (alist-cons-before
@ -316,6 +317,7 @@ are expected to exist on every operating system.")
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs (native-inputs
`(("patch/impure-dirs" ,(search-patch "make-impure-dirs.patch")))) `(("patch/impure-dirs" ,(search-patch "make-impure-dirs.patch"))))
(outputs '("out" "debug"))
(arguments (arguments
'(#:patches (list (assoc-ref %build-inputs "patch/impure-dirs")) '(#:patches (list (assoc-ref %build-inputs "patch/impure-dirs"))
#:phases (alist-cons-before #:phases (alist-cons-before
@ -403,7 +405,7 @@ BFD (Binary File Descriptor) library, `gprof', `nm', `strip', etc.")
;; reference to them anyway, so there's no space savings here. ;; reference to them anyway, so there's no space savings here.
;; TODO: Eventually we may want to add a $LOCALE_ARCHIVE search path like ;; TODO: Eventually we may want to add a $LOCALE_ARCHIVE search path like
;; Nixpkgs does. ;; Nixpkgs does.
(outputs '("out" "locales")) (outputs '("out" "locales" "debug"))
(arguments (arguments
`(#:out-of-source? #t `(#:out-of-source? #t

View File

@ -39,6 +39,7 @@
;; Make it so that we don't rely on /proc. This is especially useful in ;; Make it so that we don't rely on /proc. This is especially useful in
;; an initrd run before /proc is mounted. ;; an initrd run before /proc is mounted.
'(#:configure-flags '("CPPFLAGS=-DUSE_LIBC_PRIVATES"))) '(#:configure-flags '("CPPFLAGS=-DUSE_LIBC_PRIVATES")))
(outputs '("out" "debug"))
(synopsis "The Boehm-Demers-Weiser conservative garbage collector (synopsis "The Boehm-Demers-Weiser conservative garbage collector
for C and C++") for C and C++")
(description (description

View File

@ -138,6 +138,8 @@ extensible. It supports many SRFIs.")
(self-native-input? #t) (self-native-input? #t)
(outputs '("out" "debug"))
(arguments (arguments
`(#:phases (alist-cons-before `(#:phases (alist-cons-before
'configure 'pre-configure 'configure 'pre-configure

View File

@ -53,6 +53,7 @@
#:phases (alist-cons-after 'install 'post-install #:phases (alist-cons-after 'install 'post-install
,post-install-phase ,post-install-phase
%standard-phases))) %standard-phases)))
(outputs '("out" "debug"))
(synopsis "Foreign function call interface library") (synopsis "Foreign function call interface library")
(description (description
"The libffi library provides a portable, high level programming interface "The libffi library provides a portable, high level programming interface

View File

@ -38,6 +38,7 @@
"1hnbxz7a6jrli8ph27i8zb6k2f456zn6l5xi78yhskzbxjk47nf7")))) "1hnbxz7a6jrli8ph27i8zb6k2f456zn6l5xi78yhskzbxjk47nf7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(native-inputs `(("m4" ,m4))) (native-inputs `(("m4" ,m4)))
(outputs '("out" "debug"))
(arguments `(#:configure-flags (arguments `(#:configure-flags
'(;; Build a "fat binary", with routines for several '(;; Build a "fat binary", with routines for several
;; sub-architectures. ;; sub-architectures.
@ -78,6 +79,7 @@ faster algorithms.")
(sha256 (base32 (sha256 (base32
"0fs501qi8l523gs3cpy4jjcnvwxggyfbklcys80wq236xx3hz79r")))) "0fs501qi8l523gs3cpy4jjcnvwxggyfbklcys80wq236xx3hz79r"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" "debug"))
(propagated-inputs `(("gmp" ,gmp))) ; <mpfr.h> refers to <gmp.h> (propagated-inputs `(("gmp" ,gmp))) ; <mpfr.h> refers to <gmp.h>
(synopsis "C library for arbitrary precision floating-point arithmetic") (synopsis "C library for arbitrary precision floating-point arithmetic")
(description (description
@ -103,6 +105,7 @@ double-precision floating-point arithmetic (53-bit mantissa).")
(sha256 (base32 (sha256 (base32
"1zq0fidp1jii2j5k5n9hmx55a6wwid33gjzhimvxq9d5zrf82npd")))) "1zq0fidp1jii2j5k5n9hmx55a6wwid33gjzhimvxq9d5zrf82npd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out" "debug"))
(propagated-inputs `(("gmp" ,gmp) ; <mpc.h> refers to both (propagated-inputs `(("gmp" ,gmp) ; <mpc.h> refers to both
("mpfr" ,mpfr))) ("mpfr" ,mpfr)))
(synopsis "C library for arbitrary precision complex arithmetic") (synopsis "C library for arbitrary precision complex arithmetic")