Repository navigation
Bring moscripts up to the external-systems org standard - #1
Merged
Merged
Conversation
Follow external-systems/pkgs for nixpkgs, flake-parts, import-tree and the uv2nix pins, so consumers (pkgs, modules, home) stop locking a second uv2nix, pyproject.nix and build-system-pkgs. Replace the FlakeHub / Determinate publish workflow with the org CI, add the devenv shell, docs site, slide deck, VM test, AGENTS.md and an MIT license. The CLIs move into the package as [project.scripts] entry points (one uv.lock, uv_build backend), and resolve gum/uv/mpv from PATH with pinned fallbacks instead of calling `nix run` at runtime. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 14, 2026
andrewthomaslee
added a commit
to external-systems/home
that referenced
this pull request
Nov 14, 2026
#54) ## Summary ```diff org-pkgs → cd8dedf (external-systems/pkgs#34: moscripts from GitHub, org-pkgs.follows = "") modules → 551b179 (external-systems/modules#48: same org-pkgs bump) - moscripts' own uv2nix, pyproject-nix, pyproject-build-systems, systems ``` `nix flake update org-pkgs modules`, then `sync-locks` in the same commit. ## Evidence - **Before:** `flake.lock` has 58 nodes. netsa's `home.packages` has moscripts 0.1.0 (FlakeHub). **After:** 54 nodes. netsa's profile evaluates `moscripts-0.2.0` and builds `/nix/store/sab5yqw…-moscripts-0.2.0`, the same path pkgs builds. - `check` → exit 0, all checks passed, every machine evaluates. The only warning is the existing `stdenv.isDarwin` deprecation. ## Merge Danger **Door:** two-way Lock-only change; revert restores the previous pins. **Blast Radius:** netsa's profile - moscripts 0.2.0 has the same CLI names. Its closure now includes pinned `gum`, `uv` and `mpv`; before, they were fetched at runtime with `nix run`. - Deploy is the owner's step: `clan machines update kamrui-h1` (and the other machines with netsa). - Merge order: andrewthomaslee/moscripts#1 → pkgs#34 → modules#48 → **this** (all upstream merged). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings moscripts up to the external-systems org standard (it stays a personal repo). Every input now follows
org-pkgs, so consumers stop locking a second uv2nix stack.[project.scripts]entry points. The backend isuv_build(was hatchling, which needed aneditablesoverride). The dev group is trimmed to pytest, pytest-mock, pytest-cov, ruff and pyrefly; marimo and its extras go, because motmp builds its own venv. All deps are upgraded.nix runat runtime.tool_prefix()finds gum, uv or mpv on PATH, and the package appends pinned copies (--suffix PATH). Importing moscripts no longer asserts thatnixor~/Music/Playlistsexist, so--helpworks anywhere.packages.default(all four CLIs),moscripts-venv,apps.<cli>. The container images are dropped.pytest,pyrefly,ruff(rules pinned in pyproject),uv-lock, plus org treefmt, docs, slides and lock-sync.ci.yml(major: 0,minor: 2, so releases are0.2.<commits>). The FlakeHub/Determinate publish workflow is removed. In the ruleset,RepositoryRoleadmin (id 5) replacesOrganizationAdmin, which doesn't exist on a personal repo.Evidence
nix flake checkran pytest withnixinside the sandbox.mpv_playlists --helpfailed without~/Music/Playlists. Every gum, uv or mpv call rannix run nixpkgs#….After:
org-pkgsfollows. Once pkgs switches togithub:andrewthomaslee/moscriptswithinputs.org-pkgs.follows = ""(next PR), moscripts costs pkgs, modules and home one node each, down from five. That was tested with a throwaway flake:follows = ""resolves to the root flake.Merge Danger
Door: two-way
Revert restores the old flake. pkgs still pins the FlakeHub 0.1.0 tarball until its own PR, so nothing downstream changes on merge.
Blast Radius: contained
*-containerimages are gone;apps.<cli>andpackages.defaultremain.hellois removed.password_generatorandhuman_timestampare no longer standalone PEP 723 scripts (uv run file.py).gh api -X POST repos/andrewthomaslee/moscripts/rulesets --input .github/rulesets/default.json.nix flake update org-pkgs+sync-locks) → home.🤖 Generated with Claude Code