aboutsummaryrefslogtreecommitdiff
path: root/flake.lock
Commit message (Collapse)AuthorAgeFilesLines
* build with rust 1.82.0Alex Auvolat25 hours1-4/+4
|
* nix, ci: build with CraneAlex Auvolat26 hours1-29/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes our dependency on cargo2nix, which was causing us some issues. Whereas cargo2nix creates one Nix derivation per crate, Crane uses only two derivations: 1. Build dependencies only 2. Build the final binary This means that during the second step, no caching can be done. For instance, if we do a change in garage_model, we need to recompile all of the Garage crates including those that do not depend on garage_model. On the upside, this allows all of the Garage crates to be built at once using cargo build logic, which is optimized for high parallelism and better pipelining between all of the steps of the build. All in all, this makes most builds faster than cargo2nix. A few other changes have been made to the build scripts and CI: - Unit tests are now run within a Nix derivation. In fact, we have different derivations to run the tests using LMDB and Sqlite as metadata db engines. - For debug builds, most CI steps now run in parallel (with the notable exception of the smoke test that runs after the build, which is inevitable). - We no longer pass the GIT_VERSION argument when building debug builds and running the tests. This means that dev binaries and test binaries don't know the exact version of Garage they are from. That shouldn't be an issue in most cases. - The not-dynamic.sh scripts has been fixed to fail if the file does not exist.
* nix build: switch to upstream cargo2nix (branch release-0.11.0)nix-updateAlex Auvolat2025-01-121-6/+6
|
* flake: update versions of nixpkgs and rust-overlayAlex Auvolat2025-01-121-8/+8
|
* update flake.lockAlex Auvolat2025-01-041-18/+6
|
* update nixpkgs and rust-overlay sources in flake.nixAlex Auvolat2024-08-261-68/+16
|
* [dep-upgrade-202402] update rustc to 1.73Alex Auvolat2024-02-081-7/+7
|
* flake.nix: switch to nix-community/flake-compatFlorian Klink2023-07-161-11/+9
| | | | | | | edolstra/flake-compat is unmaintained. cargo2nix also still pulls in edolstra/flake-compat, make it follow the nix-community one.
* Update rust toolchain to 1.68 and simplify Nix stuffnix-update-simplifyAlex Auvolat2023-04-251-23/+76
|
* Implement `rpc_secret_file`Felix Scheinost2023-01-041-0/+16
|
* Make repository into a Nix flakeAlex Auvolat2022-11-161-0/+108