mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 22:57:55 +00:00
29 lines
477 B
Nix
29 lines
477 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
|
|
let
|
|
asciidoctorWrapper = writeShellScriptBin "asciidoctor" ''
|
|
${lib.getBin gems}/bin/asciidoctor -T ${./assets/templates/asciidoctor} $@
|
|
'';
|
|
|
|
gems = bundlerEnv {
|
|
name = "nixos-config-project-docs";
|
|
ruby = ruby_3_1;
|
|
gemdir = ./.;
|
|
};
|
|
in
|
|
mkShell {
|
|
packages = [
|
|
asciidoctorWrapper
|
|
gems
|
|
gems.wrappedRuby
|
|
bundix
|
|
|
|
hugo
|
|
go
|
|
nodePackages.prettier
|
|
vscode-langservers-extracted
|
|
];
|
|
}
|