Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions nix/tools.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, lib
, pkgs
, placeholder
, actionlint
, action-validator
Expand All @@ -21,6 +22,7 @@
, conform
, convco
, crystal
, cspell
, cue
, dart
, deadnix
Expand All @@ -31,6 +33,7 @@
, editorconfig-checker
, elixir
, elmPackages
, eslint
, flake-checker ? placeholder "flake-checker"
, fprettify
, git-annex
Expand All @@ -48,6 +51,7 @@
, lua-language-server
, lychee
, julia-bin
, markdownlint-cli
, mdformat
, mdl
, mdsh
Expand All @@ -66,6 +70,7 @@
, pkgsBuildBuild
, poetry
, pre-commit-hook-ensure-sops ? placeholder "pre-commit-hook-ensure-sops"
, prettier
, proselint
, python3Packages
, pyright ? nodePackages.pyright
Expand Down Expand Up @@ -136,6 +141,7 @@ in
conform
convco
crystal
cspell
cue
dart
deadnix
Expand All @@ -144,6 +150,7 @@ in
eclint
editorconfig-checker
elixir
eslint
flake-checker
fprettify
git-annex
Expand All @@ -160,6 +167,7 @@ in
html-tidy
keep-sorted
lychee
markdownlint-cli
mdformat
mdl
mdsh
Expand All @@ -171,6 +179,7 @@ in
opentofu
ormolu
pre-commit-hook-ensure-sops
prettier
poetry
proselint
pyright
Expand Down Expand Up @@ -207,12 +216,6 @@ in
# TODO: these two should be statically compiled
inherit (haskellPackages) fourmolu;
inherit (luaPackages) luacheck;
inherit (nodePackages)
eslint
markdownlint-cli
prettier
cspell
;
inherit (ocamlPackages) ocp-indent;
inherit (python3Packages)
autoflake
Expand All @@ -236,7 +239,11 @@ in
phpcbf = phpPackages.php-codesniffer or phpPackages.phpcbf;
phpcs = phpPackages.php-codesniffer or phpPackages.phpcs;
lua-language-server = lua-language-server;
purs-tidy = nodePackages.purs-tidy or (placeholder "purs-tidy");
purs-tidy =
if pkgs ? nodePackages && pkgs.nodePackages ? purs-tidy then
pkgs.nodePackages.purs-tidy
else
placeholder "purs-tidy";
cabal2nix-dir = callPackage ./cabal2nix-dir { };
hpack-dir = callPackage ./hpack-dir { };
hunspell = callPackage ./hunspell { };
Expand Down
Loading