summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-01-19 07:16:15 +0000
committerBlaž Hrastnik2021-01-19 07:16:15 +0000
commit7c99ff58fdc4c5217f86e59d2b3ec0df10f79aaa (patch)
treec5a5480ef22590813058f451480f31b618c94669 /shell.nix
parentf1539cc86680935a0b2a5bbd16c64b110687cdf7 (diff)
nix: include rust-src so rust-analyzer works correctly.
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index f8f65093..e0a26045 100644
--- a/shell.nix
+++ b/shell.nix
@@ -2,7 +2,7 @@
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
- rust-bin.nightly.latest.rust
+ (rust-bin.nightly.latest.rust.override { extensions = ["rust-src"]; })
lld_10
# pkgconfig
];