mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-23 17:20:31 +03:00
PHP: don't override patchPhase
The advantage is that this means the original `patchPhase` becomes available again, so people can use `patches` in overrides.
This commit is contained in:
parent
4aa6e86907
commit
fd490e1c9d
@ -181,21 +181,12 @@
|
||||
# set name & version
|
||||
jq \
|
||||
"(.name = \"${name}\") | \
|
||||
(.version = \"${versionString}\")" \
|
||||
(.version = \"${versionString}\") | \
|
||||
(.extra.patches = {})" \
|
||||
composer.json | sponge composer.json
|
||||
|
||||
runHook postUnpack
|
||||
'';
|
||||
patchPhase = ''
|
||||
runHook prePatch
|
||||
|
||||
# fixup composer.json
|
||||
jq \
|
||||
"(.extra.patches = {})" \
|
||||
composer.json | sponge composer.json
|
||||
|
||||
runHook postPatch
|
||||
'';
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
|
@ -176,21 +176,12 @@
|
||||
# set name & version
|
||||
jq \
|
||||
"(.name = \"${name}\") | \
|
||||
(.version = \"${versionString}\")" \
|
||||
(.version = \"${versionString}\") | \
|
||||
(.extra.patches = {})" \
|
||||
composer.json | sponge composer.json
|
||||
|
||||
runHook postUnpack
|
||||
'';
|
||||
patchPhase = ''
|
||||
runHook prePatch
|
||||
|
||||
# fixup composer.json
|
||||
jq \
|
||||
"(.extra.patches = {})" \
|
||||
composer.json | sponge composer.json
|
||||
|
||||
runHook postPatch
|
||||
'';
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user