flake: point cargoxx at Gitea; commit both flake.lock files for repro
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -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 }:
|
||||
|
||||
Reference in New Issue
Block a user