Hi,
I am trying to create a derivation for the flat-remix-icon-theme
and need some help. My derivation seems to build and install, however I am not able to select the new icon theme in gnome tweaks. The derivation is
{ stdenv, fetchFromGitHub, gtk3 }:
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
package-name = "flat-remix-icon-theme";
version = "2019-02-14";
src = fetchFromGitHub {
owner = "daniruiz";
repo = "flat-remix";
rev = "c2503f5b8104bbf6f7879260b3a6e4736ff239a5";
sha256 = "1ghl03zmqrhg7d61vq56p9n9bgmbv0023fmf5m46p8i6xc1fljvz";
};
nativeBuildInputs = [ gtk3 ];
installPhase = ''
mkdir -p $out/share/icons
mv Flat-Remix* $out/share/icons/
'';
postFixup = ''
for theme in $out/share/icons/*; do
gtk-update-icon-cache $theme
done
'';
meta = with stdenv.lib; {
description = "Flat remix is a pretty simple icon theme inspired on material design.";
homepage = https://drasite.com/flat-remix;
license = with licenses; [ gpl3 ];
platforms = platforms.all;
maintainers = with maintainers; [ mschneider ];
};
}
Note, I am not in maintainer-list.nix
yet. I ran nix-build -A flat-remix-icon-theme
which built the result
.
Any suggestions?