mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Use self-references to inputs for #:disallowed-references.
This allows ‘package-input-rewriting’ to operate as expected on these packages. Failing that, rewritten packages would still carry references to non-rewritten packages in #:disallowed-references. * gnu/packages/admin.scm (wpa-supplicant-gui): Use ‘this-package-native-input’ for #:disallowed-references. * gnu/packages/fontutils.scm (freetype): Likewise. * gnu/packages/glib.scm (glib-minimal): Likewise. * gnu/packages/gnome.scm (cogl, gnome-shell): Likewise. * gnu/packages/groff.scm (groff-minimal): Likewise. * gnu/packages/gstreamer.scm (gstreamer): Likewise. * gnu/packages/gtk.scm (gtk+): Likewise. * gnu/packages/inkscape.scm (inkscape/pinned): Likewise. * gnu/packages/java.scm (icedtea-8, openjdk9, openjdk10) (openjdk11): Likewise. * gnu/packages/linux.scm (f2fs-tools/static): Likewise. * gnu/packages/man.scm (man-db): Likewise. * gnu/packages/openldap.scm (389-ds-base): Likewise. * gnu/packages/qt.scm (qtbase-5): Likewise. * gnu/packages/rrdtool.scm (rrdtool): Likewise. * gnu/packages/rust.scm (rust-bootstrapped-package): Likewise. * gnu/packages/statistics.scm (r-with-tests): Likewise. (r-minimal): Likewise. * gnu/packages/texinfo.scm (info-reader): Likewise. * gnu/packages/tls.scm (gnutls): Likewise. (openssl-1.1): Likewise. * gnu/packages/version-control.scm (git-minimal): Likewise. (git): Likewise. (gource): Likewise. * gnu/packages/web.scm (mod-wsgi): Likewise. * gnu/packages/xfce.scm (xfdesktop): Likewise. * gnu/packages/perl.scm (perl-libtime-parsedate): Update comment. * gnu/packages/video.scm (v4l-utils-minimal): Add FIXME comment. Change-Id: I118ecd5894c24c53ec52c9208b0025ccfa3dd68a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
@@ -2718,7 +2718,7 @@ command.")
|
|||||||
#:tests? #f ; no tests
|
#:tests? #f ; no tests
|
||||||
;; Make sure the (rarely updated) package 'imagemagick/stable'
|
;; Make sure the (rarely updated) package 'imagemagick/stable'
|
||||||
;; does not end up in the closure.
|
;; does not end up in the closure.
|
||||||
#:disallowed-references (list imagemagick/stable)
|
#:disallowed-references (list (this-package-native-input "imagemagick"))
|
||||||
#:modules '((guix build qt-build-system)
|
#:modules '((guix build qt-build-system)
|
||||||
((guix build gnu-build-system) #:prefix gnu:)
|
((guix build gnu-build-system) #:prefix gnu:)
|
||||||
(guix build utils))
|
(guix build utils))
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
#$@(if (target-arm32?)
|
#$@(if (target-arm32?)
|
||||||
(list "CFLAGS=-g -O2 -fno-tree-slp-vectorize")
|
(list "CFLAGS=-g -O2 -fno-tree-slp-vectorize")
|
||||||
'()))
|
'()))
|
||||||
#:disallowed-references (list pkg-config)
|
#:disallowed-references (list (this-package-native-input "pkg-config"))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'remove-reference-to-pkg-config
|
(add-after 'install 'remove-reference-to-pkg-config
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013-2016, 2019-2021, 2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
||||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
|
||||||
@@ -272,7 +272,7 @@ information, refer to the @samp{dbus-daemon(1)} man page.")))
|
|||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:disallowed-references
|
#:disallowed-references
|
||||||
(cons tzdata-for-tests
|
(cons (this-package-native-input "tzdata")
|
||||||
;; Verify glib-mkenums, gtester, ... use the cross-compiled
|
;; Verify glib-mkenums, gtester, ... use the cross-compiled
|
||||||
;; python.
|
;; python.
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
|
|||||||
@@ -6285,7 +6285,7 @@ throughout GNOME for API documentation).")
|
|||||||
pango
|
pango
|
||||||
wayland))
|
wayland))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:disallowed-references (,xorg-server-for-tests)
|
`(#:disallowed-references ,(list (this-package-native-input "xorg-server"))
|
||||||
#:configure-flags (list ,(string-append
|
#:configure-flags (list ,(string-append
|
||||||
"CFLAGS=-g -O2"
|
"CFLAGS=-g -O2"
|
||||||
" -Wno-error=implicit-function-declaration")
|
" -Wno-error=implicit-function-declaration")
|
||||||
@@ -9432,10 +9432,10 @@ properties, screen resolution, and other GNOME parameters.")
|
|||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(let ((disallowed-references
|
(let ((disallowed-references
|
||||||
(list (gexp-input glib "bin")
|
(list (gexp-input (this-package-native-input "glib") "bin")
|
||||||
(gexp-input libxslt)
|
(this-package-native-input "libxslt")
|
||||||
(gexp-input meson)
|
meson
|
||||||
(gexp-input ruby-sass))))
|
(this-package-native-input "ruby-sass"))))
|
||||||
(list
|
(list
|
||||||
#:glib-or-gtk? #t
|
#:glib-or-gtk? #t
|
||||||
#:disallowed-references disallowed-references
|
#:disallowed-references disallowed-references
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2017, 2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2019 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
@@ -143,7 +143,7 @@ is usually the formatter of \"man\" documentation pages.")
|
|||||||
("groff" ,groff)))
|
("groff" ,groff)))
|
||||||
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:disallowed-references (,perl)
|
`(#:disallowed-references ,(list (this-package-native-input "perl"))
|
||||||
|
|
||||||
#:configure-flags '("--with-doc=no")
|
#:configure-flags '("--with-doc=no")
|
||||||
|
|
||||||
|
|||||||
@@ -446,7 +446,7 @@ the GStreamer multimedia framework.")
|
|||||||
"1016z0znl2j43n08rl19zdhfvfsgnmg44qh8fk6dr4qj481icrnw"))))
|
"1016z0znl2j43n08rl19zdhfvfsgnmg44qh8fk6dr4qj481icrnw"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:disallowed-references (list python)
|
(list #:disallowed-references (list (this-package-native-input "python"))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
#$@%common-gstreamer-phases
|
#$@%common-gstreamer-phases
|
||||||
|
|||||||
@@ -1083,7 +1083,7 @@ application suites.")
|
|||||||
#:modules '((guix build utils)
|
#:modules '((guix build utils)
|
||||||
(guix build meson-build-system)
|
(guix build meson-build-system)
|
||||||
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:))
|
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:))
|
||||||
#:disallowed-references (list xorg-server-for-tests)
|
#:disallowed-references (list (this-package-native-input "xorg-server"))
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "-Dcloudproviders=true" ;for cloud-providers support
|
#~(list "-Dcloudproviders=true" ;for cloud-providers support
|
||||||
"-Dcolord=yes" ;for color printing support
|
"-Dcolord=yes" ;for color printing support
|
||||||
|
|||||||
@@ -162,7 +162,8 @@ endif()~%~%"
|
|||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:disallowed-references (list imagemagick/stable)
|
#:disallowed-references (list (this-package-native-input "imagemagick"))
|
||||||
|
|
||||||
#:imported-modules `(,@%cmake-build-system-modules
|
#:imported-modules `(,@%cmake-build-system-modules
|
||||||
(guix build glib-or-gtk-build-system))
|
(guix build glib-or-gtk-build-system))
|
||||||
#:modules '((guix build cmake-build-system)
|
#:modules '((guix build cmake-build-system)
|
||||||
|
|||||||
@@ -738,7 +738,9 @@ IcedTea build harness.")
|
|||||||
((guix build ant-build-system)
|
((guix build ant-build-system)
|
||||||
,@%default-gnu-imported-modules)
|
,@%default-gnu-imported-modules)
|
||||||
|
|
||||||
#:disallowed-references ,(list (gexp-input icedtea-7 "jdk"))
|
#:disallowed-references ,(list (gexp-input
|
||||||
|
(this-package-native-input "jdk")
|
||||||
|
"jdk"))
|
||||||
|
|
||||||
,@(substitute-keyword-arguments (package-arguments icedtea-7)
|
,@(substitute-keyword-arguments (package-arguments icedtea-7)
|
||||||
((#:modules modules)
|
((#:modules modules)
|
||||||
@@ -929,8 +931,9 @@ new Date();"))
|
|||||||
(ice-9 popen))
|
(ice-9 popen))
|
||||||
#:tests? #f ; require jtreg
|
#:tests? #f ; require jtreg
|
||||||
#:make-flags '("all")
|
#:make-flags '("all")
|
||||||
#:disallowed-references ,(list (gexp-input icedtea-8)
|
#:disallowed-references
|
||||||
(gexp-input icedtea-8 "jdk"))
|
,(list (this-package-native-input "icedtea")
|
||||||
|
(gexp-input (this-package-native-input "icedtea") "jdk"))
|
||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
@@ -1302,8 +1305,8 @@ new Date();"))
|
|||||||
(substitute* "make/autoconf/generated-configure.sh"
|
(substitute* "make/autoconf/generated-configure.sh"
|
||||||
(("-Werror") ""))))))
|
(("-Werror") ""))))))
|
||||||
((#:disallowed-references _ '())
|
((#:disallowed-references _ '())
|
||||||
`(,(gexp-input openjdk9)
|
`(,(this-package-native-input "openjdk9")
|
||||||
,(gexp-input openjdk9 "jdk")))))
|
,(gexp-input (this-package-native-input "openjdk9") "jdk")))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("openjdk9" ,openjdk9)
|
`(("openjdk9" ,openjdk9)
|
||||||
("openjdk9:jdk" ,openjdk9 "jdk")
|
("openjdk9:jdk" ,openjdk9 "jdk")
|
||||||
@@ -1348,8 +1351,11 @@ new Date();"))
|
|||||||
(ice-9 popen)
|
(ice-9 popen)
|
||||||
(srfi srfi-1)
|
(srfi srfi-1)
|
||||||
(srfi srfi-26))
|
(srfi srfi-26))
|
||||||
#:disallowed-references (list (gexp-input openjdk10)
|
|
||||||
(gexp-input openjdk10 "jdk"))
|
#:disallowed-references
|
||||||
|
(list (this-package-native-input "openjdk")
|
||||||
|
(gexp-input (this-package-native-input "openjdk")
|
||||||
|
"jdk"))
|
||||||
|
|
||||||
#:tests? #f ; requires jtreg
|
#:tests? #f ; requires jtreg
|
||||||
;; TODO package jtreg
|
;; TODO package jtreg
|
||||||
|
|||||||
@@ -7914,7 +7914,7 @@ disks and SD cards. This package provides the userland utilities.")
|
|||||||
(string-append "libblkid_CFLAGS=-I" libuuid "/include/uuid "
|
(string-append "libblkid_CFLAGS=-I" libuuid "/include/uuid "
|
||||||
"-I" libuuid "/include/blkid")
|
"-I" libuuid "/include/blkid")
|
||||||
(string-append "libblkid_LIBS=-L" libuuid-static "/lib -lblkid")))
|
(string-append "libblkid_LIBS=-L" libuuid-static "/lib -lblkid")))
|
||||||
#:disallowed-references (,util-linux)
|
#:disallowed-references (,(this-package-input "libuuid"))
|
||||||
#:make-flags '("LDFLAGS=-all-static")
|
#:make-flags '("LDFLAGS=-all-static")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases ; TODO: f2fs phases.
|
(modify-phases %standard-phases ; TODO: f2fs phases.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012, 2014, 2015, 2017, 2018, 2021 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012, 2014-2015, 2017-2018, 2021, 2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
|
;;; Copyright © 2014 David Thompson <dthompson2@worcester.edu>
|
||||||
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015, 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
|
||||||
@@ -174,7 +174,7 @@ a flexible and convenient way.")
|
|||||||
'("nroff" "eqn" "neqn" "tbl" "refer" "pic")))
|
'("nroff" "eqn" "neqn" "tbl" "refer" "pic")))
|
||||||
;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
|
;; At run time we should refer to GROFF-MINIMAL, not GROFF (the latter
|
||||||
;; pulls in Perl.)
|
;; pulls in Perl.)
|
||||||
#:disallowed-references (list groff)))
|
#:disallowed-references (list (this-package-native-input "groff"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config flex
|
(list pkg-config flex
|
||||||
;; Groff is needed at build time for troff, grops, soelim, etc.
|
;; Groff is needed at build time for troff, grops, soelim, etc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2014, 2015, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013-2015, 2019-2020, 2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2013, 2023 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2023 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2016, 2021 Leo Famulari <leo@famulari.name>
|
;;; Copyright © 2016, 2021 Leo Famulari <leo@famulari.name>
|
||||||
;;; Copyright © 2017, 2018, 2019, 2021, 2022, 2023, 2025 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2017, 2018, 2019, 2021, 2022, 2023, 2025 Ricardo Wurmus <rekado@elephly.net>
|
||||||
@@ -255,7 +255,7 @@ servers from Python programs.")
|
|||||||
(guix build utils))
|
(guix build utils))
|
||||||
#:imported-modules `((guix build python-build-system)
|
#:imported-modules `((guix build python-build-system)
|
||||||
,@%default-gnu-imported-modules)
|
,@%default-gnu-imported-modules)
|
||||||
#:disallowed-references (list httpd)
|
#:disallowed-references (list (this-package-native-input "httpd"))
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list
|
#~(list
|
||||||
;; Relax gcc-14's strictness.
|
;; Relax gcc-14's strictness.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012-2017, 2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2013, 2019, 2020, 2021 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2019, 2020, 2021 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2015, 2016, 2017, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2015, 2016, 2017, 2019, 2021, 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2015, 2016, 2017, 2019, 2020 Eric Bavier <bavier@posteo.net>
|
;;; Copyright © 2015, 2016, 2017, 2019, 2020 Eric Bavier <bavier@posteo.net>
|
||||||
@@ -14277,7 +14277,7 @@ prop, vhea, vmtx and the reading and writing of all other table types.")
|
|||||||
`(;; XXX: We'd like to use #:disallowed-references 'perl-build-system'
|
`(;; XXX: We'd like to use #:disallowed-references 'perl-build-system'
|
||||||
;; doesn't support it yet.
|
;; doesn't support it yet.
|
||||||
;;
|
;;
|
||||||
;; #:disallowed-references (,tzdata-for-tests)
|
;; #:disallowed-references (,(this-package-native-input "tzdata"))
|
||||||
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2014, 2015, 2023 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2014, 2015, 2023 Andreas Enge <andreas@enge.fr>
|
||||||
;;; Copyright © 2015, 2025 宋文武 <iyzsong@envs.net>
|
;;; Copyright © 2015, 2025 宋文武 <iyzsong@envs.net>
|
||||||
;;; Copyright © 2015, 2018, 2019, 2020, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2015, 2018-2021, 2023, 2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2015-2019, 2024, 2025 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2015-2019, 2024, 2025 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
|
||||||
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
|
||||||
@@ -582,7 +582,7 @@ system, and the core design of Django is reused in Grantlee.")
|
|||||||
;; TODO Move to ruby@3 on the next rebuild cycle.
|
;; TODO Move to ruby@3 on the next rebuild cycle.
|
||||||
ruby-2.7))
|
ruby-2.7))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:disallowed-references ,(list python)
|
`(#:disallowed-references ,(list (this-package-native-input "python"))
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(let ((out (assoc-ref %outputs "out")))
|
(let ((out (assoc-ref %outputs "out")))
|
||||||
(list "-verbose"
|
(list "-verbose"
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
tzdata-for-tests))
|
tzdata-for-tests))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:disallowed-references (list (gexp-input tzdata-for-tests))
|
#:disallowed-references (list (this-package-native-input "tzdata"))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'check 'prepare-test-environment
|
(add-before 'check 'prepare-test-environment
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments base-rust)
|
(substitute-keyword-arguments (package-arguments base-rust)
|
||||||
((#:disallowed-references _ '())
|
((#:disallowed-references _ '())
|
||||||
(list base-rust))))
|
(list (this-package-native-input "rustc-bootstrap")))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(modify-inputs (package-native-inputs base-rust)
|
(modify-inputs (package-native-inputs base-rust)
|
||||||
(replace "rustc-bootstrap" base-rust)
|
(replace "rustc-bootstrap" base-rust)
|
||||||
|
|||||||
@@ -386,7 +386,7 @@ comparison and diagnostics.")
|
|||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:disallowed-references `(,tzdata-for-tests)
|
#:disallowed-references `(,(this-package-native-input "tzdata"))
|
||||||
#:make-flags
|
#:make-flags
|
||||||
#~(list (string-append "CFLAGS=-g -O2"
|
#~(list (string-append "CFLAGS=-g -O2"
|
||||||
" -Wno-error=implicit-function-declaration")
|
" -Wno-error=implicit-function-declaration")
|
||||||
@@ -748,7 +748,7 @@ posteriors and evidences.")
|
|||||||
(substitute-keyword-arguments (package-arguments r-with-tests)
|
(substitute-keyword-arguments (package-arguments r-with-tests)
|
||||||
((#:tests? #f #f) #f)
|
((#:tests? #f #f) #f)
|
||||||
((#:disallowed-references refs '())
|
((#:disallowed-references refs '())
|
||||||
(cons perl refs))
|
(cons (this-package-native-input "perl") refs))
|
||||||
((#:configure-flags flags)
|
((#:configure-flags flags)
|
||||||
;; Do not build the recommended packages. The build system creates
|
;; Do not build the recommended packages. The build system creates
|
||||||
;; random temporary directories and embeds their names in some
|
;; random temporary directories and embeds their names in some
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012-2013, 2015-2017, 2019, 2022-2023 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012-2013, 2015-2017, 2019, 2022-2023, 2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2016 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2017, 2019, 2022 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017, 2019, 2022 Efraim Flashner <efraim@flashner.co.il>
|
||||||
@@ -254,8 +254,7 @@ is on expressing the content semantically, avoiding physical markup commands.")
|
|||||||
(fold delete (files)
|
(fold delete (files)
|
||||||
'("info" "locale"))))
|
'("info" "locale"))))
|
||||||
#t))))))
|
#t))))))
|
||||||
#:disallowed-references ,(assoc-ref (package-inputs texinfo)
|
#:disallowed-references ,(list (this-package-input "perl"))
|
||||||
"perl")
|
|
||||||
#:modules ((ice-9 ftw) (srfi srfi-1)
|
#:modules ((ice-9 ftw) (srfi srfi-1)
|
||||||
,@%default-gnu-modules)))
|
,@%default-gnu-modules)))
|
||||||
(synopsis "Standalone Info documentation reader")
|
(synopsis "Standalone Info documentation reader")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2012-2017, 2019-2024 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2012-2017, 2019-2025 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2021 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
||||||
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
|
||||||
@@ -222,9 +222,13 @@ living in the same process.")
|
|||||||
(list #:tests? (not (or (%current-target-system)
|
(list #:tests? (not (or (%current-target-system)
|
||||||
(target-hurd?)))
|
(target-hurd?)))
|
||||||
;; Ensure we don't keep a reference to the tools used for testing.
|
;; Ensure we don't keep a reference to the tools used for testing.
|
||||||
#:disallowed-references (if (target-hurd?)
|
#:disallowed-references
|
||||||
'()
|
(if (target-hurd?)
|
||||||
(list net-tools iproute socat))
|
'()
|
||||||
|
(list (this-package-native-input "net-tools")
|
||||||
|
(this-package-native-input "iproute2")
|
||||||
|
(this-package-native-input "socat")))
|
||||||
|
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(cons*
|
#~(cons*
|
||||||
;; GnuTLS doesn't consult any environment variables to specify
|
;; GnuTLS doesn't consult any environment variables to specify
|
||||||
@@ -478,7 +482,7 @@ OpenSSL for TARGET."
|
|||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
;; Changes to OpenSSL sometimes cause Perl to "sneak in" to the closure,
|
;; Changes to OpenSSL sometimes cause Perl to "sneak in" to the closure,
|
||||||
;; so we explicitly disallow it here.
|
;; so we explicitly disallow it here.
|
||||||
#:disallowed-references (list (canonical-package perl))
|
#:disallowed-references (list (this-package-native-input "perl"))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
#$@(if (%current-target-system)
|
#$@(if (%current-target-system)
|
||||||
|
|||||||
@@ -338,7 +338,8 @@ Python 3.3 and later, rather than on Python 2.")
|
|||||||
((guix build gnu-build-system) #:prefix gnu:)
|
((guix build gnu-build-system) #:prefix gnu:)
|
||||||
,@%default-gnu-modules)
|
,@%default-gnu-modules)
|
||||||
;; Make sure the full bash does not end up in the final closure.
|
;; Make sure the full bash does not end up in the final closure.
|
||||||
#:disallowed-references (list bash perl)
|
#:disallowed-references (list (this-package-native-input "bash")
|
||||||
|
(this-package-native-input "perl"))
|
||||||
#:test-target "test"
|
#:test-target "test"
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(cons "--with-gitconfig=/etc/gitconfig"
|
#~(cons "--with-gitconfig=/etc/gitconfig"
|
||||||
@@ -610,7 +611,7 @@ everything from small to very large projects with speed and efficiency.")
|
|||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments git-minimal)
|
(substitute-keyword-arguments (package-arguments git-minimal)
|
||||||
((#:disallowed-references disallowed-refs ''())
|
((#:disallowed-references disallowed-refs ''())
|
||||||
(delete perl disallowed-refs))
|
(delq (this-package-native-input "perl") disallowed-refs))
|
||||||
((#:make-flags flags #~'())
|
((#:make-flags flags #~'())
|
||||||
#~(cons "USE_LIBPCRE2=yes" #$flags))
|
#~(cons "USE_LIBPCRE2=yes" #$flags))
|
||||||
((#:configure-flags flags #~'())
|
((#:configure-flags flags #~'())
|
||||||
@@ -3972,7 +3973,7 @@ be served with a HTTP file server of your choice.")
|
|||||||
(assoc-ref %build-inputs "boost")
|
(assoc-ref %build-inputs "boost")
|
||||||
"/lib")
|
"/lib")
|
||||||
"--with-tinyxml")
|
"--with-tinyxml")
|
||||||
#:disallowed-references (,tzdata-for-tests)
|
#:disallowed-references ,(list (this-package-native-input "tzdata"))
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-after 'unpack 'unbundle
|
(add-after 'unpack 'unbundle
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|||||||
@@ -4042,7 +4042,7 @@ be used for realtime video capture via Linux-specific APIs.")
|
|||||||
#~(modify-phases #$phases
|
#~(modify-phases #$phases
|
||||||
(delete 'split)))
|
(delete 'split)))
|
||||||
((#:disallowed-references _ '())
|
((#:disallowed-references _ '())
|
||||||
(list qtbase qtbase-5))))
|
(list qtbase qtbase-5)))) ;FIXME: most likely useless
|
||||||
(outputs '("out"))
|
(outputs '("out"))
|
||||||
(inputs (modify-inputs (package-inputs v4l-utils)
|
(inputs (modify-inputs (package-inputs v4l-utils)
|
||||||
(delete "qtbase")))))
|
(delete "qtbase")))))
|
||||||
|
|||||||
@@ -467,7 +467,7 @@ one.")
|
|||||||
"1zf921nd9xxdvvc8awzzfrljr0n29vi28mlam0jdwvsk0xv4gd7a"))))
|
"1zf921nd9xxdvvc8awzzfrljr0n29vi28mlam0jdwvsk0xv4gd7a"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:disallowed-references (,httpd)
|
`(#:disallowed-references ,(list (this-package-native-input "httpd"))
|
||||||
#:tests? #f ; TODO: can't figure out if there are tests
|
#:tests? #f ; TODO: can't figure out if there are tests
|
||||||
#:make-flags (list
|
#:make-flags (list
|
||||||
(string-append "DESTDIR="
|
(string-append "DESTDIR="
|
||||||
|
|||||||
@@ -1137,7 +1137,9 @@ window manager.")
|
|||||||
"backgrounds/xfce-verticals.svg"))
|
"backgrounds/xfce-verticals.svg"))
|
||||||
#t)))
|
#t)))
|
||||||
|
|
||||||
#:disallowed-references (,inkscape/pinned ,imagemagick)))
|
#:disallowed-references
|
||||||
|
,(list (this-package-native-input "inkscape")
|
||||||
|
(this-package-native-input "imagemagick"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list xfce4-dev-tools
|
(list xfce4-dev-tools
|
||||||
;; For our own ‘prepare-background-image’ phase.
|
;; For our own ‘prepare-background-image’ phase.
|
||||||
|
|||||||
Reference in New Issue
Block a user