mirror of
https://github.com/numtide/treefmt.git
synced 2024-10-26 17:30:03 +03:00
nix: add mdsh to the devenv
This commit is contained in:
parent
f44033281e
commit
99fb8ccd1c
@ -38,6 +38,7 @@ quite tricky.
|
||||
## Usage
|
||||
|
||||
`$ treefmt --help`
|
||||
|
||||
```
|
||||
treefmt 0.3.0
|
||||
✨ format all your language!
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user