Reformat
This commit is contained in:
parent
b7bde14d75
commit
246483e3d9
8 changed files with 187 additions and 178 deletions
|
|
@ -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
|
||||
'';
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue