From 9d1363f2fa33bf590148ece64457272502a310dc Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 2 Dec 2024 20:25:06 +0100 Subject: add developer tools --- install-imperative | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100755 install-imperative (limited to 'install-imperative') diff --git a/install-imperative b/install-imperative new file mode 100755 index 0000000..b5699f5 --- /dev/null +++ b/install-imperative @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# This script installs software which I rather not manage via Nix. +# E.g. typos and pyright are updated so frequently that nixpkgs is bound to be outdated. +# While I could declaratively install them via their version and hash I don't care enough +# (I just want the latest). + +rustup toolchain install stable + +cargo install typos-cli + +npm install -g pyright + +# Mostly installing VSCodium extensions here since the pyright extension cannot +# use the globally installed pyright (https://github.com/microsoft/pyright/issues/2035). +code-ext() { + codium --install-extension "$1" +} + +code-ext vscodevim.vim +code-ext rust-lang.rust-analyzer +code-ext ms-pyright.pyright +code-ext aaron-bond.better-comments +code-ext bbenoist.nix -- cgit v1.2.3