mob next [ci-skip] [ci skip] [skip ci]
lastFile:flake.nix
This commit is contained in:
@@ -58,7 +58,8 @@
|
|||||||
];
|
];
|
||||||
config = { };
|
config = { };
|
||||||
};
|
};
|
||||||
packages.default = pkgs.think-gtcm;
|
packages.think = pkgs.think-gtcm;
|
||||||
|
packages.think-be = pkgs.think-backend-gtcm;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1 +1,21 @@
|
|||||||
{ }
|
{
|
||||||
|
fetchgit,
|
||||||
|
php,
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
repoSrc = fetchgit {
|
||||||
|
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
|
||||||
|
rev = "7c17aa78436538241c09fc7d633904d3c063011e";
|
||||||
|
hash = "sha256-GDx0+PmuCXC+UPtsvsocCZQiTPcnOZEzJI17sxrVv7Q=";
|
||||||
|
};
|
||||||
|
src = "${repoSrc}/think-backend.greaterchiangmai.com";
|
||||||
|
in
|
||||||
|
php.buildComposerProject2 (finalAttrs: {
|
||||||
|
pname = "think-backend-gtcm";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
|
inherit src;
|
||||||
|
|
||||||
|
composerStrictValidation = false;
|
||||||
|
vendorHash = "";
|
||||||
|
})
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
{
|
{
|
||||||
fetchgit,
|
fetchgit,
|
||||||
php,
|
php,
|
||||||
breakpointHook,
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
repoSrc = fetchgit {
|
repoSrc = fetchgit {
|
||||||
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
|
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
|
||||||
@@ -12,15 +10,12 @@ let
|
|||||||
};
|
};
|
||||||
src = "${repoSrc}/think.greaterchiangmai.com";
|
src = "${repoSrc}/think.greaterchiangmai.com";
|
||||||
in
|
in
|
||||||
php.buildComposerProject2 (finalAttrs: rec {
|
php.buildComposerProject2 (finalAttrs: {
|
||||||
pname = "think-gtcm";
|
pname = "think-gtcm";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
|
||||||
inherit src;
|
inherit src;
|
||||||
|
|
||||||
nativeBuildInputs = [ breakpointHook ];
|
|
||||||
|
|
||||||
composerStrictValidation = false;
|
composerStrictValidation = false;
|
||||||
vendorHash = "sha256-QV3hR3U3GwCqrCRxfkazmJwDpO1vFyMfA6YqUb4bjMI=";
|
vendorHash = "sha256-QV3hR3U3GwCqrCRxfkazmJwDpO1vFyMfA6YqUb4bjMI=";
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user