mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-07 18:57:19 +02:00
25 lines
484 B
Nix
25 lines
484 B
Nix
![]() |
{ nix
|
||
|
, doxygen
|
||
|
}:
|
||
|
|
||
|
nix.overrideAttrs (old: {
|
||
|
pname = "nix-internal-api-docs";
|
||
|
|
||
|
configureFlags = old.configureFlags ++ [
|
||
|
"--enable-internal-api-docs"
|
||
|
];
|
||
|
nativeBuildInputs = old.nativeBuildInputs ++ [
|
||
|
doxygen
|
||
|
];
|
||
|
|
||
|
dontBuild = true;
|
||
|
doCheck = false;
|
||
|
|
||
|
installTargets = [ "internal-api-html" ];
|
||
|
|
||
|
postInstall = ''
|
||
|
mkdir -p $out/nix-support
|
||
|
echo "doc internal-api-docs $out/share/doc/nix/internal-api/html" >> $out/nix-support/hydra-build-products
|
||
|
'';
|
||
|
})
|