From f9b08c9dbbeef144b00a7e7a1efa884e81d6ddbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Tue, 7 Mar 2017 12:33:36 +0100 Subject: [PATCH] mpdris2: install locale files to correct location The package included outdated intltool makefiles, resulting in installation of local files to `$out/'@DATADIRNAME'`. Running `intltoolize -f` forces regeneration of the Makefile and fixes the issue. --- pkgs/tools/audio/mpdris2/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/audio/mpdris2/default.nix b/pkgs/tools/audio/mpdris2/default.nix index bbec851b25c..9378585d8b2 100644 --- a/pkgs/tools/audio/mpdris2/default.nix +++ b/pkgs/tools/audio/mpdris2/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { sha256 = "0zdmamj2ldhr6y3s464w8y2x3yizda784jnlrg3j3myfabssisvz"; }; + preConfigure = '' + intltoolize -f + ''; + buildInputs = [ intltool autoreconfHook pythonPackages.wrapPython ]; propagatedBuildInputs = with pythonPackages; [ python pygtk dbus-python ]; pythonPath = with pythonPackages; [ mpd pygtk dbus-python notify ];