From 776265c301e9994613ccaa4606e63c0a48d797e6 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Thu, 12 Dec 2024 05:48:49 -0500 Subject: Greencircle site --- flake.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index e8249ea..a5c4d87 100644 --- a/flake.nix +++ b/flake.nix @@ -65,6 +65,21 @@ cp -r dist/auth/deploy/* $out/ ''; }; + bundleGreencircle = pkgs.stdenv.mkDerivation { + name = "bundt-bundle-greencircle"; + src = ./.; + buildInputs = [ + (purescript.command {}) + pkgs.m4 + ]; + buildPhase = " + make deploy_greencircle + "; + installPhase = '' + mkdir -p $out + cp -r dist/greencircle/deploy/* $out/ + ''; + }; in { devShells.x86_64-linux.default = pkgs.mkShell { buildInputs = [ @@ -83,6 +98,7 @@ inherit bundleAPI bundleAuth + bundleGreencircle ; }; overlay = self: super: { @@ -90,6 +106,7 @@ inherit bundleAPI bundleAuth + bundleGreencircle ; }; }; -- cgit v1.2.3