GNU bug report logs -
#29929
[PATCH 5/5] profiles: Sort manifest inputs for profile hooks.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29929 in the body.
You can then email your comments to 29929 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#29929
; Package
guix-patches
.
(Mon, 01 Jan 2018 10:34:07 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
宋文武 <iyzsong <at> member.fsf.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 01 Jan 2018 10:34:07 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* guix/profiles.scm (info-dir-file, manual-database, fonts-dir-file)
(ghc-package-cache-file, ca-certificate-bundle, gtk-icon-themes)
(gtk-im-modules, xdg-desktop-database, xdg-mime-database): Sort the result of
'manifest-inputs'.
---
guix/profiles.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/guix/profiles.scm b/guix/profiles.scm
index 7d69d1a53..5da4807ad 100644
--- a/guix/profiles.scm
+++ b/guix/profiles.scm
@@ -691,7 +691,7 @@ MANIFEST."
#~(filter
(lambda (input)
(file-exists? (string-append input "/share/info")))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
;; XXX: We have to pass paths of inputs instead of paths of info files,
;; because 'gexp-inputs' only adds inputs for strings which satisfies
@@ -739,7 +739,7 @@ entries of MANIFEST, or #f if MANIFEST does not have any GHC packages."
(lambda (input)
(file-exists? (string-append input "/lib/ghc-"
#$(package-version ghc))))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
(define (build inputs)
(with-imported-modules '((guix build utils))
@@ -799,7 +799,7 @@ MANIFEST. Single-file bundles are required by programs such as Git and Lynx."
#~(filter
(lambda (input)
(file-exists? (string-append input "/etc/ssl/certs")))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
(define glibc-utf8-locales ;lazy reference
(module-ref (resolve-interface '(gnu packages base)) 'glibc-utf8-locales))
@@ -872,7 +872,7 @@ creates the GTK+ 'icon-theme.cache' file for each theme."
#~(filter
(lambda (input)
(file-exists? (string-append input "/share/icons")))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
(mlet %store-monad ((inputs interested)
(%gtk+ (manifest-lookup-package manifest "gtk+"))
@@ -935,7 +935,7 @@ for both major versions of GTK+."
(filter
(lambda (input)
(not (null? (find-files input "^immodules$" #:directories? #t))))
- '#$(manifest-inputs manifest))))))
+ (sort '#$(manifest-inputs manifest) string<))))))
(mlet %store-monad ((inputs interested)
(gtk+ (manifest-lookup-package manifest "gtk+" "3"))
@@ -1015,7 +1015,7 @@ MIME type."
#~(filter
(lambda (input)
(file-exists? (string-append input "/share/applications")))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
(define desktop-file-utils ; lazy reference
(module-ref (resolve-interface '(gnu packages freedesktop))
@@ -1059,7 +1059,7 @@ entries. It's used to query the MIME type of a given file."
#~(filter
(lambda (input)
(file-exists? (string-append input "/share/mime/packages")))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
(define shared-mime-info ; lazy reference
(module-ref (resolve-interface '(gnu packages gnome)) 'shared-mime-info))
@@ -1108,7 +1108,7 @@ files for the fonts of the @var{manifest} entries."
#~(filter
(lambda (input)
(file-exists? (string-append input "/share/fonts")))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
(define mkfontscale
(module-ref (resolve-interface '(gnu packages xorg)) 'mkfontscale))
@@ -1182,7 +1182,7 @@ the entries in MANIFEST."
#~(filter
(lambda (input)
(file-exists? (string-append input "/share/man")))
- '#$(manifest-inputs manifest))))
+ (sort '#$(manifest-inputs manifest) string<))))
(define gdbm-ffi
(module-ref (resolve-interface '(gnu packages guile))
--
2.13.3
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29929
; Package
guix-patches
.
(Mon, 01 Jan 2018 13:39:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 29929 <at> debbugs.gnu.org (full text, mbox):
LGTM!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 09 Jun 2021 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.