Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build with rust 1.82.0 | Alex Auvolat | 31 hours | 1 | -3/+3 |
| | |||||
* | nix, ci: build with Crane | Alex Auvolat | 32 hours | 1 | -62/+54 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-update | Alex Auvolat | 2025-01-12 | 1 | -1/+4 |
| | |||||
* | flake: update versions of nixpkgs and rust-overlay | Alex Auvolat | 2025-01-12 | 1 | -4/+4 |
| | |||||
* | update nixpkgs and rust-overlay sources in flake.nix | Alex Auvolat | 2024-08-26 | 1 | -4/+4 |
| | |||||
* | devShells.full: add rust-analyzer | Florian Klink | 2024-04-23 | 1 | -0/+1 |
| | |||||
* | [nix-improvements] modernize Nix infrastructure | Alex Auvolat | 2024-02-09 | 1 | -22/+52 |
| | |||||
* | [dep-upgrade-202402] update rustc to 1.73 | Alex Auvolat | 2024-02-08 | 1 | -4/+4 |
| | |||||
* | [dep-upgrade-202402] refactor dependencies: move all as workspace deps | Alex Auvolat | 2024-02-05 | 1 | -0/+2 |
| | |||||
* | nix: add clang to flake.nix and shell.nix | Alex Auvolat | 2023-10-26 | 1 | -0/+1 |
| | |||||
* | use mold linker when invoking cargo manually (not in nix build scripts)mold-linker | Alex Auvolat | 2023-10-10 | 1 | -1/+4 |
| | |||||
* | flake.nix: switch to nix-community/flake-compat | Florian Klink | 2023-07-16 | 1 | -2/+5 |
| | | | | | | | 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-simplify | Alex Auvolat | 2023-04-25 | 1 | -3/+17 |
| | |||||
* | Apply nixfmt to all .nix files; fix devshell and add it to cache | Alex Auvolat | 2023-01-26 | 1 | -6/+6 |
| | |||||
* | Add tests for `rpc_secret_file` | Felix Scheinost | 2023-01-07 | 1 | -1/+1 |
| | |||||
* | Implement `rpc_secret_file` | Felix Scheinost | 2023-01-04 | 1 | -17/+25 |
| | |||||
* | Inject last modified date as git_version; flake cache uploadingnix-remove-system | Alex Auvolat | 2022-11-16 | 1 | -1/+1 |
| | |||||
* | Make repository into a Nix flake | Alex Auvolat | 2022-11-16 | 1 | -0/+28 |