aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-11-09 17:54:19 -0800
committerFranck Cuny <franck@fcuny.net>2022-11-09 17:54:19 -0800
commitd71a8fd88831e2d91b7cc2d65bae1c5da6f49df8 (patch)
tree7192229f9b2f2191fb3502c0009b2f1ec321b29d /src
parentfix: configure properly the overlay (diff)
downloadx-d71a8fd88831e2d91b7cc2d65bae1c5da6f49df8.tar.gz
fix: ensure rust-src is installed
Diffstat (limited to 'src')
-rw-r--r--src/x509-info/flake.nix4
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;