| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
lib.getExe, which enstate's module uses, warned without it.
|
| | |
|
| |
|
|
| |
As enstate's completion: with ~/sync/src/tincr, from that checkout.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
extraPaths may be a function from { src }, the source after pkgs/rust
replaced it with a checkout in ~/sync/src, if there is one.
|
| |
|
|
| |
From the source, which has it since 0a32f2f.
|
| |
|
|
|
| |
Not only to the members of a workspace: a root crate's build gets them,
too. Packages without extraPaths build as before.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
For store-id and store-party, and the continuum-party client.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|