Suddenly can't open spotify on nixos

I can’t open it normally, and here’s what happens when I try to open it in the terminal:

/run/current-system/sw/bin/spotify: /nix/store/h9fak9ir0g4b71smh02664ym7mr3nlif-curl-8.4.0/lib/libcurl-gnutls.so.4: no version information available (required by /run/current-system/sw/bin/spotify)
/nix/store/dhf5nysbanq1cs1jyvdc4k12s87dpmnf-spotify-1.2.26.1187.g36b715a1/share/spotify/.spotify-wrapped: /nix/store/h9fak9ir0g4b71smh02664ym7mr3nlif-curl-8.4.0/lib/libcurl-gnutls.so.4: no version information available (required by /nix/store/dhf5nysbanq1cs1jyvdc4k12s87dpmnf-spotify-1.2.26.1187.g36b715a1/share/spotify/.spotify-wrapped)
/nix/store/dhf5nysbanq1cs1jyvdc4k12s87dpmnf-spotify-1.2.26.1187.g36b715a1/share/spotify/.spotify-wrapped: /nix/store/h9fak9ir0g4b71smh02664ym7mr3nlif-curl-8.4.0/lib/libcurl-gnutls.so.4: no version information available (required by /nix/store/dhf5nysbanq1cs1jyvdc4k12s87dpmnf-spotify-1.2.26.1187.g36b715a1/share/spotify/.spotify-wrapped)
Gtk-Message: 04:52:56.677: Failed to load module “colorreload-gtk-module”
libc++abi: terminating with uncaught exception of type boost::filesystem::filesystem_error: boost::filesystem::status: Permission denied [system:13]: “/usr/share/icons/hicolor/1024x1024/apps/spotify-client.png”
[1] 9027 abort (core dumped) spotify

Could you open an issue on Github and ping the maintainers of the package? That’s a better place to track packaging issues.

I’d also recommend you try a first-parent bisect between the last known revision of Nixpkgs where Spotify worked for you and the current one.

2 Likes