nixpkgs/nixos/doc/manual/shell.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
559 B
Nix
Raw Normal View History

let
pkgs = import ../../.. {
2024-07-26 17:44:13 +00:00
config = { };
overlays = [ ];
};
common = import ./common.nix;
inherit (common) outputPath indexPath;
devmode = pkgs.devmode.override {
buildArgs = "../../release.nix -A manualHTML.${builtins.currentSystem}";
open = "/${outputPath}/${indexPath}";
};
nixos-render-docs-redirects = pkgs.writeShellScriptBin "redirects" "${pkgs.lib.getExe pkgs.nixos-render-docs-redirects} --file ${toString ./redirects.json} $@";
in
pkgs.mkShellNoCC {
packages = [
devmode
nixos-render-docs-redirects
];
2024-07-26 17:44:13 +00:00
}