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 .PHONY: update
update: update:
npins 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 { } }: { pkgs ? import sources.nixos-unstable { } }:
let let
websiteDevshell = import ./docs/shell.nix { inherit pkgs; }; websitePkg = import ./docs { inherit pkgs; };
in in
pkgs.mkShell { pkgs.mkShell {
packages = with pkgs; [ inputsFrom = [ websitePkg ];
websiteDevshell
packages = with pkgs; [
npins npins
treefmt treefmt
nixpkgs-fmt nixpkgs-fmt
hugo
asciidoctor
# For easy validation of the test suite. # For easy validation of the test suite.
yajsv yajsv
jq jq

8
treefmt.toml Normal file
View File

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