From 77aff2b5d201a68542684aefb1fcf83b4d17490a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 Jan 2023 01:00:00 +0100 Subject: gnu: papirus-icon-theme: Harden links before cache generation. Output is identical. This just feels moar correct. * gnu/packages/gnome-xyz.scm (papirus-icon-theme)[arguments]: Run the 'halve-inode-consumption phase before the 'install one. --- gnu/packages/gnome-xyz.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index e1d0e5ec07..f25cf446d7 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -217,21 +217,20 @@ simple and consistent.") (delete 'bootstrap) (delete 'configure) (delete 'build) - (add-after 'install 'halve-inode-consumption + (add-before 'install 'halve-inode-consumption ;; This package uses over 100K inodes, which is a lot. We can easily ;; halve that number by using (hard) links, to no ill effect. ;; See . ;; However, the source checkout will still use the full amount! - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (symlink? (lambda (_ stat) + (lambda _ + (let ((symlink? (lambda (_ stat) (eq? 'symlink (stat:type stat))))) (for-each (lambda (file) (let ((target (canonicalize-path file))) (when (eq? 'regular (stat:type (stat target))) (delete-file file) (link target file)))) - (find-files out symlink?)))))))) + (find-files "." symlink?)))))))) (native-inputs (list `(,gtk+ "bin"))) (home-page "https://git.io/papirus-icon-theme") -- cgit v1.2.3 rch'/>
AgeCommit message (Expand)Author
2021-06-01maint: Require Guile 3.0....Ludovic Courtès
2021-05-03nls: Do not update po files on first make invocation....Julien Lepiller
2021-04-25import: Remove Nix importer....Ludovic Courtès
2021-04-23build: Add a check for Guile-Lib....Maxim Cournoyer
2021-03-17maint: Check whether Guile-zlib is recent enough....Ludovic Courtès
2021-02-04build: Add '--with-channel-commit' and related configure flags....Ludovic Courtès
2020-12-27maint: Remove unused '--with-nix-prefix' configure option....Ludovic Courtès
2020-12-19maint: Require Guile >= 2.2.6....Ludovic Courtès
2020-12-11maint: Avoid macros obsolete in Autoconf 2.70....Ludovic Courtès
2020-11-29Make "guile-avahi" dependency optional....Mathieu Othacehe
2020-11-29Add Avahi support....Mathieu Othacehe
2020-10-22git: Require Guile-Git 0.3.0 or later....Ludovic Courtès