forked from auxolotl/docs
25 lines
618 B
Nix
25 lines
618 B
Nix
{ channels, ... }:
|
|
final: prev: {
|
|
lix-docs = channels.nixpkgs.lix.overrideAttrs (old: {
|
|
patches = (old.patches or [ ]) ++ [
|
|
(prev.fetchpatch {
|
|
url = "https://git.lix.systems/lix-project/lix/commit/c7af89c79771a6d4eb84baa6cd9b7551b3a84a4b.patch";
|
|
hash = "sha256-u5c9GsPb1K2yjK6lhg7x0ui0lRHZA5r7Iqg0IMCD/CI=";
|
|
})
|
|
];
|
|
postBuild = ''
|
|
TERM=dumb ninja doc/manual/markdown
|
|
'';
|
|
postInstall = ''
|
|
mkdir -p $doc/manualMD
|
|
mv doc/manual/markdown/* $doc/manualMD/
|
|
'';
|
|
checkPhase = ''
|
|
true
|
|
'';
|
|
installCheckPhase = ''
|
|
true
|
|
'';
|
|
});
|
|
}
|