nixify the project

This commit is contained in:
Chris Kruining 2025-09-18 09:25:20 +02:00
parent 33aaf78f7d
commit 35f95fcac1
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
10 changed files with 5508 additions and 1 deletions

View file

@ -0,0 +1,11 @@
{ inputs, ... }:
{
perSystem = { pkgs, system, ... }: {
devShells.default = pkgs.mkShellNoCC {
nativeBuildInputs = with pkgs; [
bun
inputs.bun2nix.packages.${system}.default
];
};
};
}

View file

@ -0,0 +1,17 @@
{ self, inputs, ... }:
{
perSystem = { pkgs, self', system, ... }: {
packages = {
default = self'.packages.customer-portal;
customer-portal = inputs.bun2nix.lib.${system}.mkBunDerivation {
pname = "customer-portal";
version = "0.0.1";
index = "app.config.ts";
src = ../..;
bunNix = ./bun.nix;
};
};
};
}