mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
Create internal-api-docs.nix
This commit is contained in:
parent
ca59832808
commit
118fa9689a
2 changed files with 25 additions and 16 deletions
24
internal-api-docs.nix
Normal file
24
internal-api-docs.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ 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
|
||||
'';
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue