Commit Graph

5 Commits

Author SHA1 Message Date
Atemu
7c428691d2 spotify: use ffmpeg_4
Fixes https://github.com/NixOS/nixpkgs/issues/232869
2023-05-19 20:16:07 +02:00
Jan Tojnar
699e707e90
spotify: Fix login with firefox
- Spotify uses `LD_LIBRARY_PATH` environment variable to load dependencies.
  - One of those dependencies is `nss_esr`.
- Firefox is linked against `nss_latest`.
- Spotify opens a URL in web browser to log in.
  - Firefox process executed as a child will inherit environment variables from Spotify.
    - NSS library will be replaced, resulting in missing symbols.

        firefox.desktop[2946438]: XPCOMGlueLoad error for file /nix/store/8yc9g32afmgcv1j02y1zh69rhskpkcdc-firefox-112.0.2/lib/firefox/libxul.so:
        firefox.desktop[2946438]: /nix/store/br95hq0v4l2akqi1x7474ni3fm6nzp7v-nss-3.79.4/lib/libssl3.so: version `NSS_3.80' not found (required by /nix/store/8yc9g32afmgcv1j02y1zh69rhskpkcdc-firefox-112.0.2/lib/firefox/libxul.so)
        firefox.desktop[2946438]: Couldn't load XPCOM.

Ideally, we would not use `LD_LIBRARY_PATH` but switching to the same nss version as Firefox uses is an easy workaround.
2023-04-30 21:19:04 +02:00
Paul Nicholson
719666c479 spotify: 1.1.99.878.g1e4ccc6e -> 1.2.9.743.g85d9593d 2023-04-24 08:35:14 -07:00
Michael Hoang
3a483aee0e spotify: add myself as a macOS maintainer 2023-04-18 18:54:22 +09:00
Michael Hoang
d0e4b839a8 spotify-unwrapped: add macOS builds 2023-04-17 12:40:56 +09:00