aboutsummaryrefslogtreecommitdiff
path: root/nix/compile.nix
Commit message (Collapse)AuthorAgeFilesLines
* Configure structopt to report the right versionv0.7.2+ci-test-versionQuentin Dufour2022-08-101-11/+10
| | | | | | | | | | By default, structopt reports the value provided by the env var CARGO_PKG_VERSION, feeded by Cargo when reading Cargo.toml. However for Garage we use a versioning based on git, so we often report a version that is behind the real version. In this commit, we create garage_util::version::garage() that reports the right version and configure all structopt subcommands to call this function instead of using the env var.
* Run clippy in nix, leveraging nix caching abilityQuentin Dufour2022-07-261-31/+118
|
* Refactor default.nix to follow Nix Flakes patternsQuentin Dufour2022-07-261-0/+140