[PR #4096] feat(nix): add NixOS CLI and MCP packaging #6054

Open
opened 2026-10-31 01:11:30 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/4096
Author: @flakesonnix
Created: 10/15/2026
Status: 🔄 Open

Base: main ← Head: feat/nixos-support


📝 Commits (1)

  • 2f4c5c2 feat(nix): add NixOS CLI and MCP packaging

📊 Changes

9 files changed (+503 additions, -45 deletions)

View changed files

📝 docs/installation.md (+23 -0)
➕ flake.lock (+27 -0)
➕ flake.nix (+45 -0)
➕ nix/package.nix (+112 -0)
➕ nix/smoke-test.mjs (+134 -0)
📝 src/application/Doctor.test.ts (+113 -32)
📝 src/application/DoctorDiagnostics.ts (+4 -4)
📝 src/application/LinuxHopper.test.ts (+40 -3)
📝 src/application/LinuxHopper.ts (+5 -6)

📄 Description

Summary

  • Add a pinned Nix flake, package, development shell, and installed CLI/MCP/setup/native-PTY smoke tests for x86_64-linux.
  • Recognize NixOS independently of Hopper package support; keep automated Hopper installation disabled.
  • Preserve runtime PATH in generated MCP registrations and document Nix installation and verbosity.

Validation

  • Passed: nix build ., nix flake check ., nix run . -- --version.
  • Passed: 85 focused LinuxHopper and Doctor tests; npm run check:fast.
  • Not run: broader npm package verification or real analysis-provider verification.
  • Deferred: automatic Nix fallback on unsupported distributions. Optional Frida bindings are excluded from the Nix package.

Author readiness

  • I have reviewed and own the complete final diff.
  • I have checked the validation evidence and its limitations.
  • This PR is ready for initial maintainer review.

🔄 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/morluto/rea/pull/4096 **Author:** [@flakesonnix](https://github.com/flakesonnix) **Created:** 10/15/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/nixos-support` --- ### 📝 Commits (1) - [`2f4c5c2`](https://github.com/morluto/rea/commit/2f4c5c23355cc1465e3eaf40aa0b8db25f9ec9bd) feat(nix): add NixOS CLI and MCP packaging ### 📊 Changes **9 files changed** (+503 additions, -45 deletions) <details> <summary>View changed files</summary> 📝 `docs/installation.md` (+23 -0) ➕ `flake.lock` (+27 -0) ➕ `flake.nix` (+45 -0) ➕ `nix/package.nix` (+112 -0) ➕ `nix/smoke-test.mjs` (+134 -0) 📝 `src/application/Doctor.test.ts` (+113 -32) 📝 `src/application/DoctorDiagnostics.ts` (+4 -4) 📝 `src/application/LinuxHopper.test.ts` (+40 -3) 📝 `src/application/LinuxHopper.ts` (+5 -6) </details> ### 📄 Description ## Summary - Add a pinned Nix flake, package, development shell, and installed CLI/MCP/setup/native-PTY smoke tests for x86_64-linux. - Recognize NixOS independently of Hopper package support; keep automated Hopper installation disabled. - Preserve runtime PATH in generated MCP registrations and document Nix installation and verbosity. ## Validation - Passed: nix build ., nix flake check ., nix run . -- --version. - Passed: 85 focused LinuxHopper and Doctor tests; npm run check:fast. - Not run: broader npm package verification or real analysis-provider verification. - Deferred: automatic Nix fallback on unsupported distributions. Optional Frida bindings are excluded from the Nix package. ## Author readiness - [ ] I have reviewed and own the complete final diff. - [ ] I have checked the validation evidence and its limitations. - [ ] This PR is ready for initial maintainer review. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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
morluto/rea#6054
No description provided.