diff options
| author | Franck <franck@fcuny.net> | 2022-11-09 19:00:25 -0800 |
|---|---|---|
| committer | Franck <franck@fcuny.net> | 2022-11-09 19:00:25 -0800 |
| commit | 1c77bbb41460dded946b74311e38ed072996c4e3 (patch) | |
| tree | 9b56cfca1407b3dd74c1bff1745d8b0c1f890a0e /src/x509-info | |
| parent | fix: configure properly the overlay (diff) | |
| parent | fix: small nit (diff) | |
| download | x-1c77bbb41460dded946b74311e38ed072996c4e3.tar.gz | |
Merge pull request 'fcuny/minor-changes' (#2) from fcuny/reduce-build-time into main
Reviewed-on: https://git.fcuny.net/fcuny/x509-info/pulls/2
Diffstat (limited to 'src/x509-info')
| -rw-r--r-- | src/x509-info/.drone.yml | 2 | ||||
| -rw-r--r-- | src/x509-info/flake.nix | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/x509-info/.drone.yml b/src/x509-info/.drone.yml index 3ff6a19..f3ec80f 100644 --- a/src/x509-info/.drone.yml +++ b/src/x509-info/.drone.yml @@ -13,7 +13,7 @@ steps: image: nixpkgs/nix-flakes:nixos-22.05 commands: - nix develop --command cargo fmt --check - - nix develop --command cargo-deny check + - nix develop --command cargo deny check - nix develop --command cargo clippy -- -D warnings --- kind: pipeline diff --git a/src/x509-info/flake.nix b/src/x509-info/flake.nix index dfebcdb..4b7967a 100644 --- a/src/x509-info/flake.nix +++ b/src/x509-info/flake.nix @@ -40,7 +40,9 @@ inherit system; overlays = [ (import rust-overlay) ]; }; - rust-toolchain = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml; + rust-toolchain = (pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml).override { + extensions = [ "rust-src" ]; + }; craneLib = (crane.mkLib pkgs).overrideScope' (_: _: { cargo = rust-toolchain; |
