Evie Litherland-Smith
b102f9e209
Reduce complexity and in flake.nix and be more efficient in re-using things Removed some reduandant files in home/ and tidied up the structure somewhat Moved things from desktop, gui, etc... to top level Changed env to shell, indiv shell expressions import relevant others
34 lines
672 B
Nix
34 lines
672 B
Nix
{
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
gtk3,
|
|
}:
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "candy-icon-theme";
|
|
version = "6a35be5cb133c6be8314807f55da3d795e24fb86";
|
|
dontBuild = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EliverLara";
|
|
repo = "candy-icons";
|
|
rev = version;
|
|
sha256 = "sha256-M58ts/xyVf+ZDidd4MEp/LlU3vk2imEwOnb0/sVJUYo=";
|
|
};
|
|
|
|
nativeBuildInputs = [gtk3];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/icons/Sweet-folders
|
|
mv * $out/share/icons/Sweet-folders
|
|
|
|
for theme in $out/share/icons/*; do
|
|
gtk-update-icon-cache --force $theme
|
|
done
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|