diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-11-07 17:32:37 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-11-09 22:13:37 +0100 |
| commit | ad461613d97f974e9e1aa30dc27753aa360476de (patch) | |
| tree | 0e3815f0436b494d338509a64a280f9d7bd0e897 /gnu/packages/version-control.scm | |
| parent | 45fb8b7dc791cd60ae93a8472f56e4e54b27ee13 (diff) | |
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>
Diffstat (limited to 'gnu/packages/version-control.scm')
| -rw-r--r-- | gnu/packages/version-control.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index fcb3125b2fa..bff2252a382 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -338,7 +338,8 @@ Python 3.3 and later, rather than on Python 2.") ((guix build gnu-build-system) #:prefix gnu:) ,@%default-gnu-modules) ;; 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" #:configure-flags #~(cons "--with-gitconfig=/etc/gitconfig" @@ -610,7 +611,7 @@ everything from small to very large projects with speed and efficiency.") (arguments (substitute-keyword-arguments (package-arguments git-minimal) ((#:disallowed-references disallowed-refs ''()) - (delete perl disallowed-refs)) + (delq (this-package-native-input "perl") disallowed-refs)) ((#:make-flags flags #~'()) #~(cons "USE_LIBPCRE2=yes" #$flags)) ((#:configure-flags flags #~'()) @@ -3972,7 +3973,7 @@ be served with a HTTP file server of your choice.") (assoc-ref %build-inputs "boost") "/lib") "--with-tinyxml") - #:disallowed-references (,tzdata-for-tests) + #:disallowed-references ,(list (this-package-native-input "tzdata")) #:phases (modify-phases %standard-phases (add-after 'unpack 'unbundle (lambda _ |
