Skip to content

[WIP] spotifyd: init at 0.2.2 - #47172

Closed
bobvanderlinden wants to merge 2 commits into
NixOS:masterfrom
bobvanderlinden:pr-spotifyd-0.2.2
Closed

bobvanderlinden wants to merge 2 commits into
NixOS:masterfrom
bobvanderlinden:pr-spotifyd-0.2.2

Conversation

@bobvanderlinden

Copy link
Copy Markdown
Member
Motivation for this change

Spotifyd is a daemon for Spotify. It is especially useful for headless servers that need to be able to play songs from Spotify.

This PR includes a basic implementation for a spotifyd module.

This PR is WIP because the package was not able to build. This problem is related to #30742.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg GrahamcOfBorg added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Sep 22, 2018
@GrahamcOfBorg GrahamcOfBorg added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Sep 22, 2018
@anderslundstedt

Copy link
Copy Markdown
Contributor

Any progress on this? On the unstable channel, I was able to successfully build. But on execution it aborts as soon as I try to connect over Spotify Connect—illegal hardware instruction.

@bobvanderlinden

Copy link
Copy Markdown
Member Author

I still cannot get this to build. What have you done specifically to get the binaries?

@anderslundstedt

Copy link
Copy Markdown
Contributor

I checked out the nixos-unstable branch (at commit bc41317e24317b0f506287f2d5bab00140b9b50e). I then manually copied your spotifyd package (714034d), manually commenting out the cargoBuildFlags line. Then nix-env -iA nixpkgs.spotifyd worked.

@jmgrosen jmgrosen mentioned this pull request Feb 17, 2019
5 of 10 tasks
@flokli

flokli commented Feb 17, 2019

Copy link
Copy Markdown
Member

closing in favor of #55923.

@flokli flokli closed this Feb 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants