mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +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:
|
||||
|
||||
@ -16,6 +16,7 @@ let
|
||||
name = "${pname}-${version}";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig xfce4-dev-tools ];
|
||||
buildInputs = [ hicolor-icon-theme ];
|
||||
configureFlags = [ "--enable-maintainer-mode" ];
|
||||
|
||||
src = fetchgit {
|
||||
@ -26,8 +27,6 @@ let
|
||||
enableParallelBuilding = true;
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
preFixup = ''rm $out/share/icons/hicolor/icon-theme.cache || true'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://git.xfce.org/${category}/${pname}/about";
|
||||
license = licenses.gpl2; # some libraries are under LGPLv2+
|
||||
|
Loading…
Reference in New Issue
Block a user