diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-10-19 16:39:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-10-28 00:17:24 +0200 |
commit | 344e39c928bdb8e6b7e5ac79d94535921a414a05 (patch) | |
tree | d342223b21fba1140d255b015c15852664266b62 /gnu/packages/nss.scm | |
parent | 9d4b720e1f9e7581e340e4c84c3781af4ee72fde (diff) | |
download | guix-344e39c928bdb8e6b7e5ac79d94535921a414a05.tar.gz guix-344e39c928bdb8e6b7e5ac79d94535921a414a05.zip |
profiles: Hooks honor the #:system parameter of ‘profile-derivation’.
Fixes <https://issues.guix.gnu.org/65225>.
* guix/profiles.scm (info-dir-file, package-cache-file)
(info-dir-file, ghc-package-cache-file, ca-certificate-bundle)
(emacs-subdirs, gdk-pixbuf-loaders-cache-file, glib-schemas)
(gtk-icon-themes, gtk-im-modules, linux-module-database)
(xdg-desktop-database, xdg-mime-database, fonts-dir-file)
(manual-database, manual-database/optional): Add optional #:system
parameter and pass it to ‘gexp->derivation’.
(profile-derivation): Pass HOOK a second parameter, SYSTEM.
* gnu/bootloader.scm (efi-bootloader-profile)[efi-bootloader-profile-hook]:
Add optional #:system parameter and pass it to ‘gexp->derivation’.
* guix/channels.scm (package-cache-file): Likewise.
* tests/profiles.scm ("profile-derivation, #:system, and hooks"): New
test.
Reported-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/packages/nss.scm')
0 files changed, 0 insertions, 0 deletions