summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-12-12 05:48:49 -0500
committerLLLL Colonq <llll@colonq>2024-12-12 05:48:49 -0500
commit776265c301e9994613ccaa4606e63c0a48d797e6 (patch)
treefbe2cc88796f0efd1b57608318ad92d38a431a0c /flake.nix
parent638bdddeb10b18dd35af5a6de2950aaa3c8a5e44 (diff)
Greencircle site
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix17
1 files changed, 17 insertions, 0 deletions
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
;
};
};