package laravel backend with nix

This commit is contained in:
Yisroel Baum 2026-05-08 10:50:08 +03:00
parent 72cdd7dc4e
commit d7f7460601

25
nix/packages/backend.nix Normal file
View file

@ -0,0 +1,25 @@
{ php84, lib }:
let
php = php84;
in
php.buildComposerProject (finalAttrs: {
pname = "tide-backend";
version = "0.1.0";
src = lib.cleanSource ../../backend;
composerNoDev = true;
composerNoPlugins = true;
composerNoScripts = true;
vendorHash = "sha256-OYpfX435tPJqiOzQPpWPXCVH1rTeQ74dGuNVyk6+c1A=";
passthru = {
inherit php;
};
meta = {
description = "TIDE Laravel backend";
license = lib.licenses.mit;
};
})