mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-30 17:49:58 +03:00
nordic: replace duplicates with symbolic links instead of hard links
This commit is contained in:
parent
5fcb34ca05
commit
c16fc1ac32
@ -123,9 +123,9 @@ stdenv.mkDerivation rec {
|
||||
mv -v $out/share/themes/Nordic/kde/sddm/* $out/share/sddm/themes/
|
||||
rm -rf $out/share/themes/Nordic/kde
|
||||
|
||||
# Replace duplicate files with hardlinks to the first file in each
|
||||
# set of duplicates, reducing the installed size in about 65%
|
||||
jdupes -L -r $out/share
|
||||
# Replace duplicate files with symbolic links to the first file in
|
||||
# each set of duplicates, reducing the installed size in about 53%
|
||||
jdupes --quiet --link-soft --recurse $out/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user