diff --git a/overlays/lix-docs/default.nix b/overlays/lix-docs/default.nix new file mode 100644 index 0000000..68b13fd --- /dev/null +++ b/overlays/lix-docs/default.nix @@ -0,0 +1,26 @@ +{ channels, ... }: +final: prev: { + lix-docs = channels.nixpkgs.lix.overrideAttrs (old: { + buildPhase = '' + TERM=dumb ninja doc/manual/markdown + ''; + checkPhase = '' + true + ''; + installPhase = '' + ls -l doc + mkdir $out $debug $man $doc $dev + mv doc/manual/* $out/ + mv doc/manual/* $debug/ + mv doc/manual/* $man/ + mv doc/manual/* $doc/ + mv doc/manual/* $dev/ + ''; + fixupPhase = '' + true + ''; + installCheckPhase = '' + true + ''; + }); +} diff --git a/packages/lix-docs/default.nix b/packages/lix-docs/default.nix new file mode 100644 index 0000000..7ec2784 --- /dev/null +++ b/packages/lix-docs/default.nix @@ -0,0 +1 @@ +{ pkgs, ... }: pkgs.lix-docs