We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f1d455 + 6444a64 commit 2c09d65Copy full SHA for 2c09d65
pkgs/applications/audio/plexamp/default.nix
@@ -1,4 +1,4 @@
1
-{ lib, fetchurl, appimageTools }:
+{ lib, fetchurl, appimageTools, makeWrapper }:
2
3
let
4
pname = "plexamp";
@@ -23,6 +23,9 @@ appimageTools.wrapType2 {
23
$out/share/icons/hicolor/scalable/apps/plexamp.svg
24
substituteInPlace $out/share/applications/${pname}.desktop \
25
--replace 'Exec=AppRun' 'Exec=${pname}'
26
+ source "${makeWrapper}/nix-support/setup-hook"
27
+ wrapProgram "$out/bin/plexamp" \
28
+ --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
29
'';
30
31
passthru.updateScript = ./update-plexamp.sh;
0 commit comments