mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-01 00:12:39 +03:00
mkXfceDerivation: use hicolor-icon-theme's setup-hook
This commit is contained in:
parent
b07de4c7c2
commit
e87a1a5182
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools }:
|
{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme }:
|
||||||
|
|
||||||
{ category, pname, version, rev ? "${pname}-${version}", sha256, ... } @ args:
|
{ category, pname, version, rev ? "${pname}-${version}", sha256, ... } @ args:
|
||||||
|
|
||||||
@ -16,6 +16,7 @@ let
|
|||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig xfce4-dev-tools ];
|
nativeBuildInputs = [ pkgconfig xfce4-dev-tools ];
|
||||||
|
buildInputs = [ hicolor-icon-theme ];
|
||||||
configureFlags = [ "--enable-maintainer-mode" ];
|
configureFlags = [ "--enable-maintainer-mode" ];
|
||||||
|
|
||||||
src = fetchgit {
|
src = fetchgit {
|
||||||
@ -26,8 +27,6 @@ let
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
preFixup = ''rm $out/share/icons/hicolor/icon-theme.cache || true'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://git.xfce.org/${category}/${pname}/about";
|
homepage = "https://git.xfce.org/${category}/${pname}/about";
|
||||||
license = licenses.gpl2; # some libraries are under LGPLv2+
|
license = licenses.gpl2; # some libraries are under LGPLv2+
|
||||||
|
Loading…
Reference in New Issue
Block a user