mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
Merge pull request #39913 from Ma27/shutter/add-hicolor-icon-theme
shutter: wrap `XDG_DATA_DIRS` with `hicolor-icon-theme`
This commit is contained in:
commit
4c8c314689
|
@ -1,4 +1,6 @@
|
|||
{ stdenv, fetchurl, fetchpatch, perl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg }:
|
||||
{ stdenv, fetchurl, fetchpatch, perl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg
|
||||
, hicolor-icon-theme
|
||||
}:
|
||||
|
||||
let
|
||||
perlModules = with perlPackages;
|
||||
|
@ -29,6 +31,7 @@ stdenv.mkDerivation rec {
|
|||
wrapProgram $out/bin/shutter \
|
||||
--set PERL5LIB "${stdenv.lib.makePerlPath perlModules}" \
|
||||
--prefix PATH : "${imagemagick.out}/bin" \
|
||||
--suffix XDG_DATA_DIRS : "${hicolor-icon-theme}/share" \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue