treewide/php-packages: Drop pkgs from arguments to packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ buildPecl, lib, pkgs, pcre' }:
|
||||
{ buildPecl, lib, rdkafka, pcre' }:
|
||||
|
||||
buildPecl {
|
||||
pname = "rdkafka";
|
||||
@@ -6,11 +6,11 @@ buildPecl {
|
||||
version = "5.0.0";
|
||||
sha256 = "sha256-Qy+6rkPczhdxFbDhcuzmUTLMPUXYZ0HaheDBhkh4FXs=";
|
||||
|
||||
buildInputs = [ pkgs.rdkafka pcre' ];
|
||||
buildInputs = [ rdkafka pcre' ];
|
||||
|
||||
postPhpize = ''
|
||||
substituteInPlace configure \
|
||||
--replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${pkgs.rdkafka}'
|
||||
--replace 'SEARCH_PATH="/usr/local /usr"' 'SEARCH_PATH=${rdkafka}'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user