diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-11-09 17:54:19 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-11-09 17:54:19 -0800 |
| commit | d71a8fd88831e2d91b7cc2d65bae1c5da6f49df8 (patch) | |
| tree | 7192229f9b2f2191fb3502c0009b2f1ec321b29d /src | |
| parent | fix: configure properly the overlay (diff) | |
| download | x-d71a8fd88831e2d91b7cc2d65bae1c5da6f49df8.tar.gz | |
fix: ensure rust-src is installed
Diffstat (limited to 'src')
| -rw-r--r-- | src/x509-info/flake.nix | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
