moved wrapper declaration to preFixup

This commit is contained in:
Sven Keidel 2014-07-21 17:58:27 +02:00
parent eeeed00950
commit 1a484c8ba2
1 changed files with 3 additions and 2 deletions

View File

@ -23,8 +23,9 @@ in buildPythonPackage rec {
checkPhase = "make unittest";
installPhase = ''
DESTDIR=/ PREFIX=$out make install
makeFlags = [ "DESTDIR=/" "PREFIX=$out" ];
preFixup = ''
wrapProgram $out/bin/gpodder \
${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}