Loading doc/doc-support/package.nix +3 −4 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ roboto, treefmt, }: stdenvNoCC.mkDerivation ( finalAttrs: let Loading Loading @@ -100,14 +99,14 @@ stdenvNoCC.mkDerivation ( dest="$out/share/doc/nixpkgs" mkdir -p "$(dirname "$dest")" mv out "$dest" mv "$dest/index.html" "$dest/manual.html" cp "$dest/index.html" "$dest/manual.html" cp ${roboto.src}/web/Roboto\[ital\,wdth\,wght\].ttf "$dest/Roboto.ttf" cp ${epub} "$dest/nixpkgs-manual.epub" mkdir -p $out/nix-support/ echo "doc manual $dest manual.html" >> $out/nix-support/hydra-build-products echo "doc manual $dest index.html" >> $out/nix-support/hydra-build-products echo "doc manual $dest nixpkgs-manual.epub" >> $out/nix-support/hydra-build-products runHook postInstall Loading @@ -126,7 +125,7 @@ stdenvNoCC.mkDerivation ( let devmode' = devmode.override { buildArgs = toString ../.; open = "/share/doc/nixpkgs/manual.html"; open = "/share/doc/nixpkgs/index.html"; }; nixos-render-docs-redirects' = writeShellScriptBin "redirects" "${lib.getExe nixos-render-docs-redirects} --file ${toString ../redirects.json} $@"; in Loading Loading
doc/doc-support/package.nix +3 −4 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ roboto, treefmt, }: stdenvNoCC.mkDerivation ( finalAttrs: let Loading Loading @@ -100,14 +99,14 @@ stdenvNoCC.mkDerivation ( dest="$out/share/doc/nixpkgs" mkdir -p "$(dirname "$dest")" mv out "$dest" mv "$dest/index.html" "$dest/manual.html" cp "$dest/index.html" "$dest/manual.html" cp ${roboto.src}/web/Roboto\[ital\,wdth\,wght\].ttf "$dest/Roboto.ttf" cp ${epub} "$dest/nixpkgs-manual.epub" mkdir -p $out/nix-support/ echo "doc manual $dest manual.html" >> $out/nix-support/hydra-build-products echo "doc manual $dest index.html" >> $out/nix-support/hydra-build-products echo "doc manual $dest nixpkgs-manual.epub" >> $out/nix-support/hydra-build-products runHook postInstall Loading @@ -126,7 +125,7 @@ stdenvNoCC.mkDerivation ( let devmode' = devmode.override { buildArgs = toString ../.; open = "/share/doc/nixpkgs/manual.html"; open = "/share/doc/nixpkgs/index.html"; }; nixos-render-docs-redirects' = writeShellScriptBin "redirects" "${lib.getExe nixos-render-docs-redirects} --file ${toString ../redirects.json} $@"; in Loading