mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: papirus-icon-theme: Preserve hardlinks to save inodes.
The ‘halve-inode-consumption’ phase only works if subsequent invocations of ‘cp’ do not break the created hard links. Thus, we tell ‘cp’ to preserve them. This commit ought to reduce the number of hardlinks under /share/icons inside papirus-icon-theme package from 113886 to 58697 (compared to 116011 without the ‘halve-inode-consumption’ phase). * gnu/packages/gnome-xyz.scm (papirus-icon-theme)[#:make-flags]: Add “CP_OPTS=--preserve=links”. Change-Id: I594fb47ecd09754f6b3e13b74215826521db5cfa Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
ac98cf42fa
commit
039a89620b
1 changed files with 2 additions and 1 deletions
|
@ -218,7 +218,8 @@ simple and consistent.")
|
|||
(arguments
|
||||
(list
|
||||
#:tests? #f ; no test suite
|
||||
#:make-flags #~(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#:make-flags #~(list "CP_OPTS=--preserve=links"
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'bootstrap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue