moved wrapper declaration to preFixup
This commit is contained in:
parent
eeeed00950
commit
1a484c8ba2
@ -23,8 +23,9 @@ in buildPythonPackage rec {
|
|||||||
|
|
||||||
checkPhase = "make unittest";
|
checkPhase = "make unittest";
|
||||||
|
|
||||||
installPhase = ''
|
makeFlags = [ "DESTDIR=/" "PREFIX=$out" ];
|
||||||
DESTDIR=/ PREFIX=$out make install
|
|
||||||
|
preFixup = ''
|
||||||
wrapProgram $out/bin/gpodder \
|
wrapProgram $out/bin/gpodder \
|
||||||
${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
|
${optionalString (gpodderHome != "") "--set GPODDER_HOME ${gpodderHome}"} \
|
||||||
${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}
|
${optionalString (gpodderDownloadDir != "") "--set GPODDER_DOWNLOAD_DIR ${gpodderDownloadDir}"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user