Add markdown devshell
This commit is contained in:
parent
29fd118635
commit
f6297461f5
2 changed files with 26 additions and 0 deletions
25
devshells/markdown.nix
Normal file
25
devshells/markdown.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
withSystem,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
perSystem = {
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs',
|
||||
...
|
||||
}: {
|
||||
devShells.markdown = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
(python3.withPackages (ps:
|
||||
with ps; [
|
||||
mdformat
|
||||
mdformat-gfm
|
||||
mdformat-tables
|
||||
mdformat-footnote
|
||||
]))
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
|
@ -36,6 +36,7 @@
|
|||
./devshells/rust.nix
|
||||
./devshells/idris2.nix
|
||||
./devshells/raku.nix
|
||||
./devshells/markdown.nix
|
||||
];
|
||||
config = {
|
||||
systems = [
|
||||
|
|
Loading…
Add table
Reference in a new issue