Skip to content

feat: add nix support#7

Open
andreabadesso wants to merge 4 commits intoagentmail-to:mainfrom
andreabadesso:feat/nixify
Open

feat: add nix support#7
andreabadesso wants to merge 4 commits intoagentmail-to:mainfrom
andreabadesso:feat/nixify

Conversation

@andreabadesso
Copy link

@andreabadesso andreabadesso commented Feb 1, 2026

Refer to #8

Summary

  • Add flake.nix with packages.default, devShells.default, and overlays.default for Nix-based builds
  • Add default.nix via flake-compat for legacy nix-env installation support
  • Pin to nixos-25.11 stable channel for production use

Acceptance Criteria

  • nix build completes successfully
  • nix develop --command python -c "import agentmail" works
  • nix-env -if . installs the package (legacy support)
  • nix flake check passes
  • Dev shell includes pytest, mypy, and ruff
  • Pinned to nixos-25.11 stable channel

Usage

# Build the package
nix build

# Enter dev shell (includes pytest, mypy, ruff)
nix develop

# Install via flake
nix profile install github:agentmail-to/agentmail-python

@andreabadesso andreabadesso marked this pull request as draft February 1, 2026 22:47
@andreabadesso andreabadesso marked this pull request as ready for review February 1, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant