Metadata-Version: 2.4
Name: nex-nix
Version: 0.1.0
Summary: Sovereign Nix Sub-Shell Hypervisor, PyPI Sanitizer & Binary Deployment Engine
Author-email: The Trinity <inquiries@houseoflawpc.com>
License: MIT OR Apache-2.0
Keywords: nix,flakes,pypi,release,sandbox,subshell,devshell,deployment,oidc,audit
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Security
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: rich>=13.7.0
Requires-Dist: nex-init>=0.1.0
Provides-Extra: sandbox
Requires-Dist: nex-box>=0.2.2; extra == "sandbox"
Provides-Extra: all
Requires-Dist: nex-box>=0.2.2; extra == "all"
Requires-Dist: twine>=5.0.0; extra == "all"
Requires-Dist: build>=1.2.0; extra == "all"

# nex-nix ⚡

**Sovereign Nix Sub-Shell Hypervisor, Hermetic PyPI Packaging Engine & Binary Store Deployer.**

[![pypi](https://img.shields.io/pypi/v/nex-nix.svg)](https://pypi.org/project/nex-nix/)
[![license](https://img.shields.io/badge/license-MIT%20OR%20Apache--2.0-blue.svg)](LICENSE)
[![platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux-lightgrey.svg)](#)
[![trinity](https://img.shields.io/badge/engineered%20by-The%20Trinity-purple.svg)](#)

`nex-nix` bridges the gap between Nix hermetic development and the Python/PyPI ecosystem. It solves the two fundamental friction points of Nix development:
1. **The Outbound Problem:** Wheels built inside Nix shells accidentally inherit `/nix/store/...` compiler flags and library paths, producing wheels that crash on standard Linux and macOS machines.
2. **The Inbound Problem:** Monolithic `flake.nix` environments bloat with hundreds of packages. `nex-nix` dynamically spawns lightweight, isolated sub-Nix shells and pulls pre-built binary closures from the Nix store on demand with zero host pollution.

---

## Capabilities

### 1. Inbound Plane: Sub-Nix Shells & Capability Profiles
Spawn throwaway, hermetic sub-environments on the fly without editing your flake:
```bash
# Run ad-hoc packages in an ephemeral subshell:
nex-nix exec --with yosys z3 -- yosys -p "prep; check" core.v

# Execute inside a declared flake profile (e.g., .#formal, .#hardware):
nex-nix run-in formal -- lean --run Theorem.lean
