From cf578753d038d928334a977382bb6f4729a85319 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Tue, 2 Jul 2024 03:03:24 -0400 Subject: [PATCH] add nonfunctional lix-docs package --- overlays/lix-docs/default.nix | 26 ++++++++++++++++++++++++++ packages/lix-docs/default.nix | 1 + 2 files changed, 27 insertions(+) create mode 100644 overlays/lix-docs/default.nix create mode 100644 packages/lix-docs/default.nix 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