From 4fbf2c3a3e91e4c3d0c57b1d9f0346c31fca1540 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sat, 13 Jul 2019 10:48:04 -0400 Subject: [PATCH] lollypop: only produce one wrapper --- pkgs/applications/audio/lollypop/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/applications/audio/lollypop/default.nix b/pkgs/applications/audio/lollypop/default.nix index 1a1d59fa5afe..464552584a45 100644 --- a/pkgs/applications/audio/lollypop/default.nix +++ b/pkgs/applications/audio/lollypop/default.nix @@ -78,6 +78,15 @@ python3.pkgs.buildPythonApplication rec { patchPythonScript "$out/libexec/lollypop-sp" ''; + # Produce only one wrapper using wrap-python passing + # gappsWrapperArgs to wrap-python additional wrapper + # argument + dontWrapGApps = true; + + makeWrapperArgs = [ + "\${gappsWrapperArgs[@]}" + ]; + meta = with lib; { description = "A modern music player for GNOME"; homepage = https://wiki.gnome.org/Apps/Lollypop;