summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
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
;
};
};