Get Rust Analyzer from overlay instead of directly from Nixpkgs
Right now, the latter invokes `cargo metadata --lockfile-path`, which this Cargo nightly doesn't support.
This commit is contained in:
parent
96049682b2
commit
89cbbcb2e8
@ -19,7 +19,7 @@
|
||||
pkgs = haskell.nixpkgs.extend (import inputs.rust-overlay);
|
||||
crane = (inputs.crane.mkLib pkgs).overrideToolchain (p: p.rust-bin.selectLatestNightlyWith (
|
||||
toolchain: toolchain.default.override {
|
||||
extensions = [ "rust-src" ];
|
||||
extensions = [ "rust-src" "rust-analyzer" ];
|
||||
targets = [ "x86_64-unknown-linux-gnu" ];
|
||||
}
|
||||
));
|
||||
@ -102,7 +102,6 @@
|
||||
packages = with pkgs; [
|
||||
bacon
|
||||
ghcid
|
||||
rust-analyzer
|
||||
];
|
||||
};
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user