diff --git a/pkgs/think-gtcm.nix b/pkgs/think-gtcm.nix index 677bb12..97a4106 100644 --- a/pkgs/think-gtcm.nix +++ b/pkgs/think-gtcm.nix @@ -1,5 +1,4 @@ { - fetchurl, fetchgit, php, breakpointHook, @@ -14,17 +13,24 @@ php.buildComposerProject2 (finalAttrs: rec { hash = "sha256-GDx0+PmuCXC+UPtsvsocCZQiTPcnOZEzJI17sxrVv7Q="; }; + sourceRoot = "${src}/think.greaterchiangmai.com"; + unpackPhase = '' runHook preUnpack mkdir "$sourceRoot" + ls $sourceRoot + echo "==================" + cp -R "$src/think.greaterchiangmai.com/*" "$sourceRoot/" runHook postUnpack ''; - buildPhase = ''exit 1''; + buildPhase = '' + exit 1 + ''; nativeBuildInputs = [ breakpointHook ];