forked from lix-project/nixos-module
fix nix-doc
This commit is contained in:
parent
d56179fb03
commit
be0e76426b
|
@ -20,5 +20,6 @@
|
|||
{
|
||||
inherit pkgs;
|
||||
packages.default = pkgs.nixVersions.nix_2_18;
|
||||
packages.nix-doc = pkgs.nix-doc;
|
||||
});
|
||||
}
|
||||
|
|
|
@ -26,4 +26,9 @@ in
|
|||
});
|
||||
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" ];
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue