picard: Fix double wrapping

This commit is contained in:
Doron Behar 2020-03-27 13:04:24 +03:00
parent 4f31680331
commit 3435237fc5
1 changed files with 5 additions and 4 deletions

View File

@ -27,10 +27,11 @@ in pythonPackages.buildPythonApplication rec {
substituteInPlace setup.cfg --replace "" "'" substituteInPlace setup.cfg --replace "" "'"
''; '';
installPhase = '' # In order to spare double wrapping, we use:
python setup.py install --prefix="$out" preFixup = ''
wrapQtApp $out/bin/picard makeWrapperArgs+=("''${qtWrapperArgs[@]}")
''; ''
;
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://picard.musicbrainz.org/"; homepage = "https://picard.musicbrainz.org/";