nix: add mdsh to the devenv

This commit is contained in:
zimbatm 2021-12-18 12:33:12 +01:00 committed by Jonas Chevalier
parent f44033281e
commit 99fb8ccd1c
2 changed files with 7 additions and 0 deletions

View File

@ -38,6 +38,7 @@ quite tricky.
## Usage
`$ treefmt --help`
```
treefmt 0.3.0
✨ format all your language!

View File

@ -28,6 +28,7 @@ let
go
haskellPackages.cabal-fmt
haskellPackages.ormolu
mdsh
nixpkgs-fmt
nodePackages.prettier
python3.pkgs.black
@ -40,6 +41,11 @@ let
mdbook
];
shellHook = ''
# Put the treefmt binary on the PATH when it's built
export PATH=$PWD/target/debug:$PATH
'';
buildInputs = with nixpkgs; lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security libiconv ];
doCheck = true;