summaryrefslogtreecommitdiffstats
path: root/pkgs/rust
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/rust: clean the packages' sources in the overlaytv3 hours2-5/+16
| | | | | | | | A package file in pkgs/rust names its source as it is; the overlay builds a cleaned copy of it, and checks the plan against the source itself. So the copy can leave Cargo.lock out next to a Cargo.json, as before, while the lock check still has it. A source in the store already, like a fetched one, isn't copied again.
* pkgs/rust: a source's own plan, not the one kept in hrmtv3 hours1-8/+11
| | | | | | | | | A plan goes with the source it was made for. A checkout in ~/sync/src used the plan in pkgs/rust/<pname>/ anyway, which was made for the package's own source; now it uses its own Cargo.json, or none. A package's source that has a Cargo.json, like a checkout delivered by krops' checkouts=, uses that, too; the plan kept in hrm applies only to sources without one.
* crate2nix-package: compare Git crates by revision, tootv5 hours1-2/+10
| | | | | | | checkLock knew a crate by name and version only, so a plan with an older revision of a Git dependency of the same version passed: enstate's plan, with continuum's config crate at 45b0676 where Cargo.lock had 9f64a8d, failed to compile on the deploying host.
* pkgs/rust: check plans kept in hrm against the package's sourcetv6 hours1-1/+12
| | | | | | | | | Only plans in ~/sync/src checkouts were checked, against the checkout. A plan in pkgs/rust/<pname>/Cargo.json, used wherever there's no checkout, as on the hosts, wasn't checked at all: enstate's, older than its libc, passed and failed the build on ru. rustHrmCrateArgs has these packages' arguments as hrm has them, without what ~/sync/src overrides, for plans to check them, too.
* crate2nix-package: catch dependencies added since the plantv6 hours1-1/+26
| | | | | | | checkLock only sees crates the plan has and the lock doesn't, so a plan older than a new dependency, like enstate's libc, passed and the build failed. Now the root crate's non-optional dependencies in Cargo.toml must be in the plan.
* pkgs/rust: leave target/ out of the copied sourcetv8 hours1-8/+5
| | | | | | A checkout in ~/sync/src with a cargo build in it was copied into the store whole. The copying moves to mylib.copyWithout, which the Haskell overlay can use, too.
* enstate: say its main programtv44 hours1-0/+1
| | | | lib.getExe, which enstate's module uses, warned without it.
* crate2nix-package: take metatv44 hours1-5/+10
|
* tincr: take the man pages from the source as builttv45 hours1-6/+5
| | | | As enstate's completion: with ~/sync/src/tincr, from that checkout.
* enstate: take the bash completion from the source as builttv45 hours1-7/+4
| | | | | | With ~/sync/src/enstate, the package was built from it, but the completion came from inputs.enstate, on the deploying host its own /var/src/enstate, from before the completion existed.
* crate2nix-package: let extraPaths see the source as builttv45 hours1-3/+5
| | | | | extraPaths may be a function from { src }, the source after pkgs/rust replaced it with a checkout in ~/sync/src, if there is one.
* enstate: install the bash completiontv46 hours1-3/+14
| | | | From the source, which has it since 0a32f2f.
* crate2nix-package: join extraPaths to any packagetv46 hours1-11/+13
| | | | | Not only to the members of a workspace: a root crate's build gets them, too. Packages without extraPaths build as before.
* enstate: build with hrm's crate2nix helpertv47 hours1-0/+7
| | | | | | From the populated source, as the NixOS module, so both are of the same revision; with the source's Cargo.json if it has one, else from its Cargo.lock. The package set gets the inputs for it.
* crate2nix-package: find git dependencies in their repositoriestv47 hours1-2/+14
| | | | | | build-from-json builds a git dependency from the root of its repository, so enstate's config, which lives in continuum's repository, got continuum's own sources.
* tincr: pin in sources.jsontv3 days1-2/+3
| | | | | | With the hash, as the package fetches it into the store, and without a branch, as a new revision needs a new plan. krops.nix reads the same entry for the NixOS module, instead of importing the package file.
* tincr: install the man pagestv7 days1-3/+14
|
* pkgs rust: let a package add paths to its memberstv7 days1-2/+6
|
* tincr: init at 457908atv7 days1-0/+18
|
* pkgs rust: let a package choose its workspace memberstv7 days1-1/+9
|
* continuum: enable the federation featuretv13 days1-1/+1
| | | | For store-id and store-party, and the continuum-party client.
* continuum: 0.0.0 -> 0.0.1tv13 days1-2/+2
|
* crate2nixPackage: check features vs TOMLtv2026-11-112-9/+42
|
* crate2nixPackage: check JSON vs locktv2026-11-112-4/+32
|
* continuum: init at 0.0.0tv2026-11-101-0/+20
|
* pkgs: add rust overlaytv2026-11-102-0/+179