diff options
| author | LLLL Colonq <llll@colonq> | 2024-11-14 21:33:19 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2024-11-14 21:33:19 -0500 |
| commit | 78223d43d02d20996003e12fe2c51ae1072d55fa (patch) | |
| tree | e9ac49953293050b3c77adc14933d6a46488c854 /flake.nix | |
| parent | cf0070ac5a78d8042fa74d407fb9cb65352e2066 (diff) | |
Registration page
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -33,6 +33,22 @@ srcs = [ "src" ]; }; bundt = purescript.bundle {}; + + bundleAPI = pkgs.stdenv.mkDerivation { + name = "bundt-bundle-api"; + src = ./.; + buildInputs = [ + (purescript.command {}) + pkgs.m4 + ]; + buildPhase = " + make deploy_api + "; + installPhase = '' + mkdir -p $out + cp -r dist/api/deploy/* $out/ + ''; + }; in { devShells.x86_64-linux.default = pkgs.mkShell { buildInputs = [ @@ -48,6 +64,7 @@ }; packages.x86_64-linux = { default = bundt; + inherit bundleAPI; }; }; } |
