mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-30 22:57:58 +00:00
wrapper-manager-fds: update devshell
This commit is contained in:
parent
4c8f811cab
commit
89e4f584cc
5
Makefile
5
Makefile
@ -11,3 +11,8 @@ docs-build:
|
||||
.PHONY: update
|
||||
update:
|
||||
npins update
|
||||
|
||||
# Ideally this should be done before committing.
|
||||
.PHONY: format
|
||||
format:
|
||||
treefmt
|
||||
|
@ -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
8
treefmt.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[global]
|
||||
excludes = [
|
||||
"npins/default.nix"
|
||||
]
|
||||
|
||||
[formatter.nix]
|
||||
command = "nixfmt"
|
||||
includes = [ "*.nix" ]
|
Loading…
Reference in New Issue
Block a user