mirror of
https://github.com/foo-dogsquared/nix-module-wrapper-manager-fds.git
synced 2025-01-31 04:58:17 +00:00
23 lines
604 B
Nix
23 lines
604 B
Nix
|
let
|
||
|
sources = import ../../npins;
|
||
|
in
|
||
|
{ pkgs ? import sources.nixos-unstable { } }:
|
||
|
|
||
|
let
|
||
|
docs = import ../. { inherit pkgs; };
|
||
|
in
|
||
|
with pkgs; mkShell {
|
||
|
inputsFrom = [ docs.website ];
|
||
|
|
||
|
packages = [
|
||
|
nodePackages.prettier
|
||
|
vscode-langservers-extracted
|
||
|
];
|
||
|
|
||
|
shellHook = ''
|
||
|
install -Dm0644 ${docs.wmOptionsDoc.optionsAsciiDoc} ./content/en/wrapper-manager-env-options.adoc
|
||
|
install -Dm0644 ${docs.wmNixosDoc.optionsAsciiDoc} ./content/en/wrapper-manager-nixos-module.adoc
|
||
|
install -Dm0644 ${docs.wmHmDoc.optionsAsciiDoc} ./content/en/wrapper-manager-home-manager-module.adoc
|
||
|
'';
|
||
|
}
|