mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
mojave-gtk-theme: replace duplicate files with hardlinks
This commit is contained in:
parent
0540e9f60e
commit
1a808ce384
@ -76,9 +76,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
name= ./install.sh --theme all --dest $out/share/themes
|
||||
|
||||
install -D -t $out/share/wallpapers ../"macOS Mojave Wallpapers"/*
|
||||
jdupes -l -r $out/share
|
||||
|
||||
# Replace duplicate files with hardlinks to the first file in each
|
||||
# set of duplicates, reducing the installed size in about 53%
|
||||
jdupes -L -r $out/share
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user