diff options
author | xeji <36407913+xeji@users.noreply.github.com> | 2018-05-04 22:48:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-04 22:48:56 +0200 |
commit | 4c8c314689c3dd907d467ccd441bcbb8f4319bee (patch) | |
tree | d5fa4bea983665585693002ee4c40195240f0aa2 /pkgs/applications/graphics | |
parent | 45788b45403ea3ea3a331c98ac05f9d0faf05b1e (diff) | |
parent | 40226e647e5481f8276f2265207d262d4ab750ea (diff) | |
download | nixlib-4c8c314689c3dd907d467ccd441bcbb8f4319bee.tar nixlib-4c8c314689c3dd907d467ccd441bcbb8f4319bee.tar.gz nixlib-4c8c314689c3dd907d467ccd441bcbb8f4319bee.tar.bz2 nixlib-4c8c314689c3dd907d467ccd441bcbb8f4319bee.tar.lz nixlib-4c8c314689c3dd907d467ccd441bcbb8f4319bee.tar.xz nixlib-4c8c314689c3dd907d467ccd441bcbb8f4319bee.tar.zst nixlib-4c8c314689c3dd907d467ccd441bcbb8f4319bee.zip |
Merge pull request #39913 from Ma27/shutter/add-hicolor-icon-theme
shutter: wrap `XDG_DATA_DIRS` with `hicolor-icon-theme`
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/shutter/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/graphics/shutter/default.nix b/pkgs/applications/graphics/shutter/default.nix index 2cc127a3fc6f..3bc814e1e758 100644 --- a/pkgs/applications/graphics/shutter/default.nix +++ b/pkgs/applications/graphics/shutter/default.nix @@ -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" ''; |