mirror of
https://gitlab.com/rensa-nix/devshell.git
synced 2025-12-12 06:10:07 +01:00
chore: update nixmkdocs, add treefmt
This commit is contained in:
parent
9cb2d2bef6
commit
266080b197
4 changed files with 45 additions and 36 deletions
|
|
@ -1,9 +1,17 @@
|
|||
{inputs, ...}: let
|
||||
inherit (inputs) pkgs devshell;
|
||||
inherit (inputs) pkgs devshell treefmt;
|
||||
in {
|
||||
default = devshell.mkShell {
|
||||
packages = [
|
||||
pkgs.alejandra
|
||||
pkgs.nil
|
||||
(treefmt.mkWrapper pkgs {
|
||||
programs = {
|
||||
alejandra.enable = true;
|
||||
statix.enable = true;
|
||||
deadnix.enable = true;
|
||||
mdformat.enable = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
env."HELLO".value = "world!";
|
||||
enterShellCommands.test = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue