[PR #875] [MERGED] feat(nix): add nix flake #909

Closed
opened 2026-03-03 00:01:24 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aome510/spotify-player/pull/875
Author: @DOD-101
Created: 11/16/2025
Status: Merged
Merged: 12/30/2025
Merged by: @aome510

Base: masterHead: add-flake


📝 Commits (2)

  • 6908b0a feat(nix): add nix flake
  • 402438a feat(nix): get version form spotify-player/Cargo.toml

📊 Changes

5 files changed (+231 additions, -17 deletions)

View changed files

📝 .gitignore (+2 -0)
default.nix (+129 -0)
flake.lock (+61 -0)
flake.nix (+39 -0)
shell.nix (+0 -17)

📄 Description

This way the package can be build and run using nix commands and the flake can be used to get a more up-to-date version of spotify-player than nixpkgs has. This can be particularly useful to nix users if there is a fix on master which hasn't made its way downstream.

default.nix has been taken directly from nixpkgs with just the maintainers and the passthru update-script removed.

I have also removed shell.nix and made that part of the flake directly.

The additions to .gitignore are so that users of (nix-)direnv can add a .envrc containing use flake to load the dev shell.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aome510/spotify-player/pull/875 **Author:** [@DOD-101](https://github.com/DOD-101) **Created:** 11/16/2025 **Status:** ✅ Merged **Merged:** 12/30/2025 **Merged by:** [@aome510](https://github.com/aome510) **Base:** `master` ← **Head:** `add-flake` --- ### 📝 Commits (2) - [`6908b0a`](https://github.com/aome510/spotify-player/commit/6908b0abed9d87bd67f0b0aad89f4150ea5ff088) feat(nix): add nix flake - [`402438a`](https://github.com/aome510/spotify-player/commit/402438a41a1d05bf96afd7f4421b7b2639c8989c) feat(nix): get version form spotify-player/Cargo.toml ### 📊 Changes **5 files changed** (+231 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+2 -0) ➕ `default.nix` (+129 -0) ➕ `flake.lock` (+61 -0) ➕ `flake.nix` (+39 -0) ➖ `shell.nix` (+0 -17) </details> ### 📄 Description This way the package can be build and run using nix commands and the flake can be used to get a more up-to-date version of spotify-player than nixpkgs has. This can be particularly useful to nix users if there is a fix on master which hasn't made its way downstream. `default.nix` has been taken directly from nixpkgs with just the maintainers and the passthru update-script removed. I have also removed `shell.nix` and made that part of the flake directly. The additions to `.gitignore` are so that users of (nix-)direnv can add a `.envrc` containing `use flake` to load the dev shell. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 00:01:24 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#909
No description provided.