dev: Adjust shell
- pre-commit shellHook doesn't add itself to PATH anymore - rust shellHook from module is now picked up by inputsFrom iiuc - add treefmt wrapper
This commit is contained in:
parent
1bb495190a
commit
41a71b8e34
1 changed files with 3 additions and 1 deletions
|
|
@ -81,6 +81,9 @@
|
|||
config.packages.nix
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkgs.pre-commit
|
||||
config.treefmt.build.wrapper
|
||||
|
||||
pkgs.rust-analyzer
|
||||
pkgs.nixfmt-rfc-style
|
||||
pkgs.rustfmt
|
||||
|
|
@ -96,7 +99,6 @@
|
|||
];
|
||||
shellHook = ''
|
||||
${config.pre-commit.installationScript}
|
||||
source ${../bindgen-gcc.sh}
|
||||
echo 1>&2 "Welcome to the development shell!"
|
||||
'';
|
||||
# rust-analyzer needs a NIX_PATH for some reason
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue