diff options
| author | Jan Tojnar <jtojnar@gmail.com> | 2022-04-30 02:15:56 +0200 |
|---|---|---|
| committer | Jan Tojnar <jtojnar@gmail.com> | 2022-05-02 03:56:12 +0200 |
| commit | 03e31c533ce0bc568d2aebed5847934d7224c735 (patch) | |
| tree | 406ec4d813055da80c93fd2354ecef24a7d19795 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | b2ae4d5a0ed0578f3bed6424c0ba51fc9dd61a18 (diff) | |
php.mkExtension: make source name agnostic
PHP obtained from Git contains files directly in the top-level directory,
which will be placed in Nix store. The generic builder will then copy it
to the /build sandbox as its basename with hash stripped (e.g. source/).
This breaks the assumption of `mkExtension`, which expects that PHP’s
source will be extracted into `php-«version»/` directory, since that
is what the release tarballs contain.
Let’s unset the `sourceRoot`, leaving it to `unpackPhase` to find
the source directory. Then, we will be able go to the extension
directory from there.
We use custom pre-configure phase so that both `postPatch` and
`preConfigure` is available to consumers.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
