flake: point cargoxx at Gitea; commit both flake.lock files for repro

This commit is contained in:
2026-05-18 18:46:28 +00:00
parent 27943a53b0
commit 9701b09cb9
5 changed files with 398 additions and 9 deletions

View File

@@ -5,13 +5,10 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
# During local development we point at the sibling cargoxx checkout
# via an absolute `git+file://` URL. Once the registry lives on Gitea
# this becomes a Gitea URL pinned to a specific cargoxx revision —
# that pin, alongside `lock.cargoxx_rev` in each recipe, is what
# makes registry derivations deterministic across consumers (see
# docs/library-reuse-and-publish.md in the cargoxx repo).
cargoxx.url = "git+file:///home/mozart/cargoxx";
# Gitea-hosted cargoxx. flake.lock pins the exact rev — bump it
# explicitly via `nix flake update cargoxx` when the registry should
# adopt a newer cargoxx codegen.
cargoxx.url = "git+https://git.amadey.xyz/mozart/cargoxx";
};
outputs = { self, nixpkgs, flake-utils, cargoxx }: