[PR #382] [MERGED] feat(nix): add comprehensive Nix flake for linux-rust #388

Closed
opened 2026-03-02 12:40:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kavishdevar/librepods/pull/382
Author: @doprz
Created: 12/13/2025
Status: Merged
Merged: 12/14/2025
Merged by: @kavishdevar

Base: linux/rustHead: feature/comprehensive-rust-nix-flake


📝 Commits (4)

  • 026f3fc feat(nix): add comprehensive Nix flake for linux-rust
  • 67a90df feat(nix): add comprehensive Nix flake for linux-rust
  • cbbe2f2 fix(clippy): fix cargo clippy warnings
  • 9b12689 fix(linux-rust): format and fix syntax error

📊 Changes

25 files changed (+2362 additions, -1543 deletions)

View changed files

.envrc (+1 -0)
📝 .gitignore (+5 -1)
default.nix (+12 -0)
📝 flake.lock (+121 -5)
📝 flake.nix (+133 -59)
📝 linux-rust/src/bluetooth/aacp.rs (+245 -122)
📝 linux-rust/src/bluetooth/att.rs (+35 -18)
📝 linux-rust/src/bluetooth/discovery.rs (+20 -13)
📝 linux-rust/src/bluetooth/le.rs (+253 -148)
📝 linux-rust/src/bluetooth/managers.rs (+13 -4)
📝 linux-rust/src/bluetooth/mod.rs (+2 -2)
📝 linux-rust/src/devices/airpods.rs (+149 -68)
📝 linux-rust/src/devices/enums.rs (+10 -13)
📝 linux-rust/src/devices/mod.rs (+1 -1)
📝 linux-rust/src/devices/nothing.rs (+93 -81)
📝 linux-rust/src/main.rs (+129 -79)
📝 linux-rust/src/media_controller.rs (+468 -249)
📝 linux-rust/src/ui/airpods.rs (+210 -252)
📝 linux-rust/src/ui/messages.rs (+5 -5)
📝 linux-rust/src/ui/mod.rs (+3 -3)

...and 5 more files

📄 Description

Features:

  • Nix Flake Configuration: Complete flake setup supporting multiple architectures
    • crane
    • flake-parts
    • flake-compat
    • treefmt-nix
      • nixfmt-rfc-style
  • Development Shell: Pre-configured dev environment
  • Multiple Entry Points: Support for nix develop, nix run, and nix build

🔄 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/kavishdevar/librepods/pull/382 **Author:** [@doprz](https://github.com/doprz) **Created:** 12/13/2025 **Status:** ✅ Merged **Merged:** 12/14/2025 **Merged by:** [@kavishdevar](https://github.com/kavishdevar) **Base:** `linux/rust` ← **Head:** `feature/comprehensive-rust-nix-flake` --- ### 📝 Commits (4) - [`026f3fc`](https://github.com/kavishdevar/librepods/commit/026f3fc1cc7139effdcd43cbd28c4aa4fce20700) feat(nix): add comprehensive Nix flake for linux-rust - [`67a90df`](https://github.com/kavishdevar/librepods/commit/67a90df7df8a6cfe1638312792a3b44c904369a0) feat(nix): add comprehensive Nix flake for linux-rust - [`cbbe2f2`](https://github.com/kavishdevar/librepods/commit/cbbe2f2d887710547114039d9f26abfeef570f0f) fix(clippy): fix cargo clippy warnings - [`9b12689`](https://github.com/kavishdevar/librepods/commit/9b126892e73a06e78fb7f56974c3c8ff06f54cb5) fix(linux-rust): format and fix syntax error ### 📊 Changes **25 files changed** (+2362 additions, -1543 deletions) <details> <summary>View changed files</summary> ➕ `.envrc` (+1 -0) 📝 `.gitignore` (+5 -1) ➕ `default.nix` (+12 -0) 📝 `flake.lock` (+121 -5) 📝 `flake.nix` (+133 -59) 📝 `linux-rust/src/bluetooth/aacp.rs` (+245 -122) 📝 `linux-rust/src/bluetooth/att.rs` (+35 -18) 📝 `linux-rust/src/bluetooth/discovery.rs` (+20 -13) 📝 `linux-rust/src/bluetooth/le.rs` (+253 -148) 📝 `linux-rust/src/bluetooth/managers.rs` (+13 -4) 📝 `linux-rust/src/bluetooth/mod.rs` (+2 -2) 📝 `linux-rust/src/devices/airpods.rs` (+149 -68) 📝 `linux-rust/src/devices/enums.rs` (+10 -13) 📝 `linux-rust/src/devices/mod.rs` (+1 -1) 📝 `linux-rust/src/devices/nothing.rs` (+93 -81) 📝 `linux-rust/src/main.rs` (+129 -79) 📝 `linux-rust/src/media_controller.rs` (+468 -249) 📝 `linux-rust/src/ui/airpods.rs` (+210 -252) 📝 `linux-rust/src/ui/messages.rs` (+5 -5) 📝 `linux-rust/src/ui/mod.rs` (+3 -3) _...and 5 more files_ </details> ### 📄 Description Features: - [x] Nix Flake Configuration: Complete flake setup supporting multiple architectures - [x] crane - [x] flake-parts - [x] flake-compat - [x] treefmt-nix - [x] nixfmt-rfc-style - [x] Development Shell: Pre-configured dev environment - [x] Multiple Entry Points: Support for `nix develop`, `nix run`, and `nix build` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:40:59 +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/librepods#388
No description provided.