Skip to content

Commit

Permalink
Merge pull request #68 from ein-shved/nix-65
Browse files Browse the repository at this point in the history
[nix] Make compatible with NIXOS_OZONE_WL
  • Loading branch information
cucumber-sp authored Mar 15, 2024
2 parents 9c375fe + dbc2ce5 commit 82d43a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ stdenvNoCC.mkDerivation
# use makeWrapper on electron binary to make it call our asar package
makeWrapper "${electron}/bin/electron" "$out/bin/yandex-music" \
--add-flags "$out/share/nodejs/yandex-music.asar"
--add-flags "$out/share/nodejs/yandex-music.asar" \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
install -Dm644 "./app/favicon.png" "$out/share/pixmaps/yandex-music.png"
install -Dm644 "./app/favicon.png" "$out/share/icons/hicolor/48x48/apps/yandex-music.png"
Expand Down

0 comments on commit 82d43a5

Please sign in to comment.