wrapper-manager-fds: update devshell

This commit is contained in:
Gabriel Arazas 2024-07-19 13:50:41 +08:00
parent 4c8f811cab
commit 89e4f584cc
3 changed files with 16 additions and 6 deletions

View File

@ -11,3 +11,8 @@ docs-build:
.PHONY: update
update:
npins update
# Ideally this should be done before committing.
.PHONY: format
format:
treefmt

View File

@ -4,19 +4,16 @@ in
{ pkgs ? import sources.nixos-unstable { } }:
let
websiteDevshell = import ./docs/shell.nix { inherit pkgs; };
websitePkg = import ./docs { inherit pkgs; };
in
pkgs.mkShell {
packages = with pkgs; [
websiteDevshell
inputsFrom = [ websitePkg ];
packages = with pkgs; [
npins
treefmt
nixpkgs-fmt
hugo
asciidoctor
# For easy validation of the test suite.
yajsv
jq

8
treefmt.toml Normal file
View File

@ -0,0 +1,8 @@
[global]
excludes = [
"npins/default.nix"
]
[formatter.nix]
command = "nixfmt"
includes = [ "*.nix" ]