10 lines
192 B
Nix
10 lines
192 B
Nix
{ pkgs ? import <nixpkgs> {},
|
|
crane ? builtins.getFlake "github:ipetkov/crane"
|
|
}:
|
|
let
|
|
inherit (pkgs)
|
|
rust-analyzer
|
|
;
|
|
in (crane.mkLib pkgs).devShell {
|
|
packages = [ rust-analyzer ];
|
|
}
|