From cbc11cf5d23375071c186bf36a292225ed66ec48 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Mon, 18 Nov 2024 04:19:01 -0500 Subject: Initial auth page --- flake.nix | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index a9e5866..beedd35 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,21 @@ cp -r dist/api/deploy/* $out/ ''; }; + bundleAuth = pkgs.stdenv.mkDerivation { + name = "bundt-bundle-auth"; + src = ./.; + buildInputs = [ + (purescript.command {}) + pkgs.m4 + ]; + buildPhase = " + make deploy_auth + "; + installPhase = '' + mkdir -p $out + cp -r dist/auth/deploy/* $out/ + ''; + }; in { devShells.x86_64-linux.default = pkgs.mkShell { buildInputs = [ @@ -64,11 +79,17 @@ }; packages.x86_64-linux = { default = bundt; - inherit bundleAPI; + inherit + bundleAPI + bundleAuth + ; }; overlay = self: super: { bundt = { - inherit bundleAPI; + inherit + bundleAPI + bundleAuth + ; }; }; }; -- cgit v1.2.3