From b41a93355ebd37312266b5c1e599f5008414e396 Mon Sep 17 00:00:00 2001 From: V Date: Thu, 23 Dec 2021 08:17:24 +0100 Subject: ripple/website/nix: fix deployment Our post-update deployment hook expects a callPackage-able default.nix in the root of the repository. Let's fix that! I'm moving the nixpkgs wrapper to another file, so it's still easy to build. Placeholder page until we've actually got content. Change-Id: I5e3ecabe0025c2361e15e31b3c520be6410281ce --- ripple/website/build.nix | 2 ++ ripple/website/default.nix | 19 +++++-------------- 2 files changed, 7 insertions(+), 14 deletions(-) create mode 100644 ripple/website/build.nix (limited to 'ripple') diff --git a/ripple/website/build.nix b/ripple/website/build.nix new file mode 100644 index 0000000..b87c642 --- /dev/null +++ b/ripple/website/build.nix @@ -0,0 +1,2 @@ +let pkgs = import {}; +in pkgs.callPackage ./default.nix {} diff --git a/ripple/website/default.nix b/ripple/website/default.nix index f72e5af..3dad32c 100644 --- a/ripple/website/default.nix +++ b/ripple/website/default.nix @@ -1,16 +1,7 @@ -let pkgs = import {}; -in pkgs.runCommand "ripple.unfathomable.blue" { - nativeBuildInputs = [ pkgs.lowdown ]; -} '' - mkdir $out - for x in ${./pages}/*.md; do - { - cat < - $(lowdown -X title $x) - - EOS - lowdown --html-no-head-ids $x - } >$out/$(basename $x .md).html - done + Ripple + WIP '' -- cgit 1.4.1