docs/overlays/lix-docs/default.nix

25 lines
618 B
Nix
Raw Normal View History

2024-07-02 07:03:24 +00:00
{ channels, ... }:
final: prev: {
lix-docs = channels.nixpkgs.lix.overrideAttrs (old: {
2024-07-10 21:28:23 +00:00
patches = (old.patches or [ ]) ++ [
(prev.fetchpatch {
url = "https://git.lix.systems/lix-project/lix/commit/c7af89c79771a6d4eb84baa6cd9b7551b3a84a4b.patch";
hash = "sha256-u5c9GsPb1K2yjK6lhg7x0ui0lRHZA5r7Iqg0IMCD/CI=";
})
];
2024-07-10 17:58:44 +00:00
postBuild = ''
2024-07-02 07:03:24 +00:00
TERM=dumb ninja doc/manual/markdown
'';
2024-07-10 17:58:44 +00:00
postInstall = ''
mkdir -p $doc/manualMD
mv doc/manual/markdown/* $doc/manualMD/
2024-07-02 07:03:24 +00:00
'';
2024-07-10 21:28:23 +00:00
checkPhase = ''
true
'';
installCheckPhase = ''
true
'';
2024-07-02 07:03:24 +00:00
});
}