Rust support for idea

This commit is contained in:
2022-05-10 00:51:19 +01:00
parent 95968b9088
commit f77c16ad28
3 changed files with 25 additions and 8 deletions

View File

@@ -6,6 +6,21 @@
headless,
...
}: let
idea = with pkgs;
symlinkJoin {
name = "idea-ultimate";
paths = [
jetbrains.idea-ultimate
];
buildInputs = [makeWrapper];
postBuild = ''
wrapProgram $out/bin/idea-ultimate --prefix PATH : ${symlinkJoin {
name = "rust-toolchain";
paths = [rustc cargo];
}}/bin
'';
};
cliPackages = with pkgs; [
aerc
direnv
@@ -37,7 +52,7 @@
discord
feh
iosevka
jetbrains.goland
idea
mpv
nerdfonts
pamixer
@@ -68,6 +83,8 @@ in {
file = {
".icons/default".source = "${pkgs.capitaine-cursors}/share/icons/capitaine-cursors";
".rust".source = pkgs.rustPlatform.rustcSrc;
"bin/update" = {
source = ../../scripts/update;
executable = true;