mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-01-31 01:57:54 +00:00
42 lines
595 B
Nix
42 lines
595 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
|
|
let
|
|
localGem = ruby-nix {
|
|
name = "asciidoctor-foodogsquared-extensions";
|
|
ruby = ruby_3_1;
|
|
gemset = ./gemset.nix;
|
|
};
|
|
in
|
|
mkShell {
|
|
buildInputs = [
|
|
localGem.env
|
|
localGem.ruby
|
|
];
|
|
|
|
packages = [
|
|
bundix
|
|
git
|
|
go
|
|
hugo
|
|
jq
|
|
openring
|
|
gnumake
|
|
tree-sitter
|
|
|
|
# Formatters...
|
|
rufo # ...for Ruby.
|
|
nixpkgs-fmt # ...for Nix.
|
|
nodePackages.prettier # ...for the web files.
|
|
];
|
|
|
|
shellHook = ''
|
|
go version
|
|
hugo version
|
|
asciidoctor --version
|
|
|
|
chmod u+x --recursive ./bin
|
|
'';
|
|
}
|