summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-02-18 00:36:16 -0500
committerLLLL Colonq <llll@colonq>2025-02-18 00:36:16 -0500
commit5453326ffa7b59d5a414eb0b029667f3d9537793 (patch)
tree3a64a86745fd2025bf53e7dd469a7901c0e5371b
parent12a8b6bb63ab52cd4828f16d26d94079fa576436 (diff)
Add bundleThrowshade output
-rw-r--r--flake.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 57669da..67550c2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -86,6 +86,22 @@
cp -r dist/greencircle/deploy/* $out/
'';
};
+ bundleThrowshade = pkgs.stdenv.mkDerivation {
+ name = "bundt-bundle-throwshade";
+ src = ./.;
+ inherit NEWTON_PATH;
+ buildInputs = [
+ (purescript.command {})
+ pkgs.m4
+ ];
+ buildPhase = "
+ make deploy_throwshade
+ ";
+ installPhase = ''
+ mkdir -p $out
+ cp -r dist/throwshade/deploy/* $out/
+ '';
+ };
in {
devShells.x86_64-linux.default = pkgs.mkShell {
inherit NEWTON_PATH;
@@ -106,6 +122,7 @@
bundleAPI
bundleAuth
bundleGreencircle
+ bundleThrowshade
;
};
overlay = self: super: {