mob next [ci-skip] [ci skip] [skip ci]
lastFile:pkgs/think-gtcm.nix
This commit is contained in:
@@ -3,38 +3,24 @@
|
|||||||
php,
|
php,
|
||||||
breakpointHook,
|
breakpointHook,
|
||||||
}:
|
}:
|
||||||
php.buildComposerProject2 (finalAttrs: rec {
|
|
||||||
pname = "think-gtcm";
|
|
||||||
version = "1.0.0";
|
|
||||||
|
|
||||||
src = fetchgit {
|
let
|
||||||
|
repoSrc = fetchgit {
|
||||||
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
|
url = "https://git.b4l.co.th/newedge/think-greaterchiangmai";
|
||||||
rev = "7c17aa78436538241c09fc7d633904d3c063011e";
|
rev = "7c17aa78436538241c09fc7d633904d3c063011e";
|
||||||
hash = "sha256-GDx0+PmuCXC+UPtsvsocCZQiTPcnOZEzJI17sxrVv7Q=";
|
hash = "sha256-GDx0+PmuCXC+UPtsvsocCZQiTPcnOZEzJI17sxrVv7Q=";
|
||||||
};
|
};
|
||||||
|
src = "${repoSrc}/think.greaterchiangmai.com";
|
||||||
|
in
|
||||||
|
php.buildComposerProject2 (finalAttrs: rec {
|
||||||
|
pname = "think-gtcm";
|
||||||
|
version = "1.0.0";
|
||||||
|
|
||||||
sourceRoot = "${src}/think.greaterchiangmai.com";
|
inherit src;
|
||||||
|
|
||||||
unpackPhase = ''
|
|
||||||
runHook preUnpack
|
|
||||||
|
|
||||||
mkdir "$sourceRoot"
|
|
||||||
|
|
||||||
ls $sourceRoot
|
|
||||||
echo "=================="
|
|
||||||
|
|
||||||
cp -R "$src/think.greaterchiangmai.com/*" "$sourceRoot/"
|
|
||||||
|
|
||||||
runHook postUnpack
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
exit 1
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [ breakpointHook ];
|
nativeBuildInputs = [ breakpointHook ];
|
||||||
|
|
||||||
composerStrictValidation = false;
|
composerStrictValidation = false;
|
||||||
vendorHash = "";
|
vendorHash = "sha256-QV3hR3U3GwCqrCRxfkazmJwDpO1vFyMfA6YqUb4bjMI=";
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user