Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
572 B · 35 lines
Nix
123456789101112131415161718192021222324252627282930313233343536{ lib, mkMesonDerivation,
doxygen,
# Configuration Options
version,}:
mkMesonDerivation (finalAttrs: { pname = "nix-external-api-docs"; inherit version;
workDir = ./.;
nativeBuildInputs = [ doxygen ];
preConfigure = '' chmod u+w ./.version echo ${finalAttrs.version} > ./.version '';
postInstall = '' mkdir -p ''${!outputDoc}/nix-support echo "doc external-api-docs $out/share/doc/nix/external-api/html" >> ''${!outputDoc}/nix-support/hydra-build-products '';
meta = { platforms = lib.platforms.all; };})