treewide/php-packages: Drop pkgs from arguments to packages
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{ buildPecl, lib, pkgs, version, sha256 }:
|
||||
{ buildPecl, lib, version, sha256, oracle-instantclient }:
|
||||
buildPecl {
|
||||
pname = "oci8";
|
||||
|
||||
inherit version sha256;
|
||||
|
||||
buildInputs = [ pkgs.oracle-instantclient ];
|
||||
configureFlags = [ "--with-oci8=shared,instantclient,${pkgs.oracle-instantclient.lib}/lib" ];
|
||||
buildInputs = [ oracle-instantclient ];
|
||||
configureFlags = [ "--with-oci8=shared,instantclient,${oracle-instantclient.lib}/lib" ];
|
||||
|
||||
postPatch = ''
|
||||
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4
|
||||
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${oracle-instantclient.dev}/include"|' config.m4
|
||||
'';
|
||||
|
||||
meta.maintainers = lib.teams.php.members;
|
||||
|
||||
Reference in New Issue
Block a user