fix nix-doc

This commit is contained in:
jade 2024-03-07 11:45:59 -08:00
parent d56179fb03
commit be0e76426b
2 changed files with 6 additions and 0 deletions

View file

@ -20,5 +20,6 @@
{ {
inherit pkgs; inherit pkgs;
packages.default = pkgs.nixVersions.nix_2_18; packages.default = pkgs.nixVersions.nix_2_18;
packages.nix-doc = pkgs.nix-doc;
}); });
} }

View file

@ -26,4 +26,9 @@ in
}); });
stable = nix_2_18; stable = nix_2_18;
}; };
nix-doc = prev.nix-doc.overrideAttrs (old: {
# for the purposes of nix C++ API for nix-doc, lix is Nix 2.20
NIX_CFLAGS_COMPILE = [ "-DNIX_2_20_0" ];
});
} }