mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
key-mon #11183: replace makeWrapper with makeWrapperArgs
This commit is contained in:
parent
faff9ddad5
commit
d373b9d9f3
@ -1,5 +1,4 @@
|
||||
{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, makeWrapper, pygtk
|
||||
, pythonPackages }:
|
||||
{ stdenv, fetchurl, buildPythonPackage, gnome, librsvg, pygtk, pythonPackages }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "key-mon-${version}";
|
||||
@ -12,14 +11,13 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
propagatedBuildInputs =
|
||||
[ gnome.python_rsvg librsvg makeWrapper pygtk pythonPackages.xlib ];
|
||||
[ gnome.python_rsvg librsvg pygtk pythonPackages.xlib ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/key-mon \
|
||||
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
|
||||
'';
|
||||
makeWrapperArgs = ''
|
||||
--set GDK_PIXBUF_MODULE_FILE ${librsvg}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://code.google.com/p/key-mon;
|
||||
|
Loading…
Reference in New Issue
Block a user