mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
836d207c6c
Co-authored-by: Valentin Gagarin <valentin@gagarin.work>
21 lines
559 B
Nix
21 lines
559 B
Nix
let
|
|
pkgs = import ../../.. {
|
|
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
|
|
];
|
|
}
|