feat(nix): add a package flake with its own locked nixpkgs #5
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/iamb!5
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mirus-nix-flake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Moves the fork's package recipe out of nixos-hosts
modules/fleet/overlays/forks.nixintonix/flake.nix, with its ownnix/flake.lock. The template for the other forks.Why: the fleet's nixpkgs bumps change this derivation today, so the publisher recompiles iamb on the 6 GiB builder. With its own lock and no
follows, a nixos-hosts nixpkgs bump leaves it alone.What changes
nix/flake.nix: the same recipe (rust 1.97, the vendor hash,VERGEN_GIT_SHA,preVersionCheck). It lives innix/because the rootflake.nixis upstream's dev flake; leaving that alone keeps upstream merges clean.nix/flake.lock: nixpkgs at 7dcdd87, the rev the fleet is on today, so the toolchain is already cached..forgejo/workflows/nix.yml: evaluates the out path and builds only the vendor derivation on the untrusted runner, with no compile and no secrets.No trusted-build job here, on purpose. A workflow comes from the pushed commit, so any writer's branch could target a label on a trusted machine; branch protection does not stop that. The trusted builder pulls the protected branch head itself. Design:
/root/fork-packages-standalone-plan.md.Merge: fast-forward, so the sha that was built is the sha that lands. Nothing in the fleet consumes this yet; the nixos-hosts switch comes after a first real promote.
🤖 Generated with Claude Code
https://claude.ai/code/session_01XMf4EKNjKMd6bwCpS7K4jU