mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-24 14:34:39 +03:00
Merge pull request #68 from ein-shved/nix-65
[nix] Make compatible with NIXOS_OZONE_WL
This commit is contained in:
commit
82d43a54e0
@ -56,7 +56,8 @@ stdenvNoCC.mkDerivation
|
|||||||
|
|
||||||
# use makeWrapper on electron binary to make it call our asar package
|
# use makeWrapper on electron binary to make it call our asar package
|
||||||
makeWrapper "${electron}/bin/electron" "$out/bin/yandex-music" \
|
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/pixmaps/yandex-music.png"
|
||||||
install -Dm644 "./app/favicon.png" "$out/share/icons/hicolor/48x48/apps/yandex-music.png"
|
install -Dm644 "./app/favicon.png" "$out/share/icons/hicolor/48x48/apps/yandex-music.png"
|
||||||
|
Loading…
Reference in New Issue
Block a user