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
643 B
Nix
34 lines
643 B
Nix
{
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
gtk3,
|
|
}:
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "delta-icon-theme";
|
|
version = "194df98e422c0a81912194808b76712bf5d78803";
|
|
dontBuild = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Delta-Icons";
|
|
repo = "linux";
|
|
rev = version;
|
|
sha256 = "sha256-SSkI5Aj/TTHfDRYCWe7Ell6cWvPmBUeO/AC4xRrEUvU=";
|
|
};
|
|
|
|
nativeBuildInputs = [gtk3];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/share/icons
|
|
mv Delta $out/share/icons
|
|
|
|
for theme in $out/share/icons/*; do
|
|
gtk-update-icon-cache --force $theme
|
|
done
|
|
|
|
runHook postInstall
|
|
'';
|
|
}
|