Brian Picciano
2919906843
Clean up nix setup, only toolchain.nix is still in a weird state
5 months ago
Florian Klink
79ca8e76a4
nix/common.nix: use pattern from nix-community/flake-compat
...
This is still a bit confusing, as normally the flake.defaultNix attrset
gets exposed via a top-level default.nix, but at least it brings us
closer to that.
10 months ago
Alex Auvolat
865f0c7d0c
Add LMDB to debug builds
12 months ago
Alex Auvolat
5efcdc0de3
Update rust toolchain to 1.68 and simplify Nix stuff
1 year ago
Alex Auvolat
f251b4721f
Apply nixfmt to all .nix files; fix devshell and add it to cache
1 year ago
Alex Auvolat
e76dba9561
Make repository into a Nix flake
2 years ago
Alex Auvolat
002b9fc50c
Add TLS support for Consul discovery + refactoring
2 years ago
Alex Auvolat
667ca9d3e3
Cleanup nix scripts
2 years ago
Alex Auvolat
00cf076412
Fix cargo2nix feature discovery
2 years ago
Alex Auvolat
e89e047c5a
Fix i386 build with custom toolchain (armv6 unknown state)
2 years ago
Alex Auvolat
8d04ae7014
cargo2nix unstable (patched), rust 1.63.0, nixpkgs 22.05 (32-bit builds are broken)
2 years ago
Alex Auvolat
d104ae8711
Add step to generate multi-arch Docker container in CI
2 years ago
Alex Auvolat
e89f880694
Enable k2v feature flag in CI
2 years ago
Alex Auvolat
782630fc27
Initialize metrics exporter earlier ( fix #389 )
2 years ago
Alex Auvolat
f310fce34b
Inject GIT_VERSION even later
2 years ago
Alex Auvolat
db61f41030
Move GIT_VERSION injection later in build chain to reduce build times
2 years ago
Alex Auvolat
2c2b93acdf
Update Nix files with optional db engines
2 years ago
Alex Auvolat
7de53a4d66
Force disable pkg-config for libsodum-sys and libzstd-sys
2 years ago
Alex Auvolat
8d77a76df1
Update .nix files
2 years ago
Alex Auvolat
5d065b8a0f
cargo2nix fix to fetchCrateGit
2 years ago
Quentin Dufour
2c7bae935a
Configure structopt to report the right version
...
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.
2 years ago
Quentin Dufour
fcb04843f7
Run clippy in nix, leveraging nix caching ability
2 years ago
Quentin Dufour
5fb8584247
Refactor default.nix to follow Nix Flakes patterns
2 years ago
Quentin Dufour
96561c48a1
Bump Nix image to 22.05
2 years ago
Quentin Dufour
9c9e483375
Put log-lines in nix.conf
2 years ago
Quentin Dufour
0529f3c34d
Patch cargo2nix openssl override
2 years ago
Quentin Dufour
2a3afcaf65
Test WinSCP
2 years ago
Quentin Dufour
5d19f3d2d7
Add integration tests to Drone
2 years ago
Quentin Dufour
084dcdbd3a
Upgrade cargo2nix
2 years ago
Quentin Dufour
6f7ef11537
Generate and upload a JSON result
2 years ago
Alex Auvolat
241db1e1f5
Add URL field to JSON builds
2 years ago
Quentin Dufour
ecd76977ea
Generate JSON build description
2 years ago
Quentin Dufour
93f8d59e4c
Extract toolchain build from the CI
3 years ago
Quentin Dufour
cc1caa87fb
Use Rust binaries from Nix instead of rustup
3 years ago
Quentin Dufour
dc017a0cab
Build Garage with Nix
3 years ago