2023-07-12 11:50:47 +00:00
|
|
|
let
|
|
|
|
pkgs = import ../../.. {
|
2024-07-26 17:44:13 +00:00
|
|
|
config = { };
|
|
|
|
overlays = [ ];
|
2023-07-12 11:50:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
common = import ./common.nix;
|
|
|
|
inherit (common) outputPath indexPath;
|
2024-11-08 18:06:07 +00:00
|
|
|
devmode = pkgs.devmode.override {
|
2024-11-08 17:40:27 +00:00
|
|
|
buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}";
|
|
|
|
open = "/${outputPath}/${indexPath}";
|
|
|
|
};
|
2024-11-29 14:03:08 +00:00
|
|
|
nixos-render-docs-redirects = pkgs.writeShellScriptBin "redirects" "${pkgs.lib.getExe pkgs.nixos-render-docs-redirects} --file ${toString ./redirects.json} $@";
|
2023-07-12 11:50:47 +00:00
|
|
|
in
|
2024-11-08 17:40:27 +00:00
|
|
|
pkgs.mkShellNoCC {
|
2024-11-29 14:03:08 +00:00
|
|
|
packages = [
|
|
|
|
devmode
|
|
|
|
nixos-render-docs-redirects
|
|
|
|
];
|
2024-07-26 17:44:13 +00:00
|
|
|
}
|