mirror of
https://github.com/foo-dogsquared/asciidoctor-foodogsquared-extensions.git
synced 2025-01-30 22:57:56 +00:00
27 lines
370 B
Nix
27 lines
370 B
Nix
{ pkgs ? import <nixpkgs> { }
|
|
, extraPackages ? [ ]
|
|
, extraBuildInputs ? [ ]
|
|
}:
|
|
|
|
with pkgs;
|
|
|
|
mkShell {
|
|
buildInputs = [
|
|
# Dependencies for Nokogiri.
|
|
pkg-config
|
|
zlib
|
|
libiconv
|
|
|
|
# Dependencies for rugged.
|
|
libgit2
|
|
] ++ extraBuildInputs;
|
|
|
|
packages = [
|
|
# Formatters
|
|
nixpkgs-fmt
|
|
|
|
# Language servers
|
|
rnix-lsp
|
|
] ++ extraPackages;
|
|
}
|