diff options
| author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-05-07 11:17:14 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-05-07 13:00:42 +0000 |
| commit | 05b68b2c12304739df8238e5488ba437dd06b160 (patch) | |
| tree | 41ef9adae804af2301803bd7c418a96fd897473a | |
| parent | Merge pull request #308310 from matthiasbeyer/backport-308144-to-release-23.11 (diff) | |
| download | nixpkgs-05b68b2c12304739df8238e5488ba437dd06b160.tar.gz | |
build-support/php: remove confusing `with self;`
(cherry picked from commit 08e29ab1632a5b920420a568fd9fdf238831eb75)
| -rw-r--r-- | pkgs/top-level/php-packages.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/top-level/php-packages.nix b/pkgs/top-level/php-packages.nix index 52ac4c1d3f7d..566b373aaba2 100644 --- a/pkgs/top-level/php-packages.nix +++ b/pkgs/top-level/php-packages.nix @@ -46,7 +46,9 @@ , fetchpatch }: -lib.makeScope pkgs.newScope (self: with self; { +lib.makeScope pkgs.newScope (self: let + inherit (self) buildPecl callPackage mkExtension php; +in { buildPecl = callPackage ../build-support/php/build-pecl.nix { php = php.unwrapped; }; |
