picard: Fix double wrapping

This commit is contained in:
Doron Behar 2020-03-27 13:04:24 +03:00
parent 4f31680331
commit 3435237fc5

View file

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