This commit is contained in:
Invariantspace 2024-09-15 18:34:27 -07:00
parent b7bde14d75
commit 246483e3d9
No known key found for this signature in database
GPG key ID: EBC4A20067373921
8 changed files with 187 additions and 178 deletions

View file

@ -1,9 +1,12 @@
{ inputs, name, pkgs }:
{
inputs,
name,
pkgs,
}:
pkgs.stdenv.mkDerivation {
inherit name;
srcs = [];
buildInputs = [ pkgs.jdupes ];
buildInputs = [pkgs.jdupes];
dontUnpack = true;
preInstall = with inputs; ''
cp -r ${candy-icons}/ candy-icons/
@ -30,7 +33,7 @@ pkgs.stdenv.mkDerivation {
rm -rf */gtk-3.0/{apps,widgets,*.scss}
rm -rf */gtk-4.0/{apps,widgets,*.scss}
rm -rf */xfwm4/{assets,render_assets.fish}
# Install icons
mkdir -p $out/share/icons/
mv candy-icons/ $out/share/icons/candy-icons/
@ -60,7 +63,7 @@ pkgs.stdenv.mkDerivation {
# Replace duplicate files with symbolic links to the first file in each set of duplicates
jdupes --quiet --link-soft --recurse $out/share/
runHook postInstall
'';
'';
}