treewide/php-packages: Drop pkgs from arguments to packages

This commit is contained in:
Elis Hirwing
2021-02-27 11:29:20 +01:00
parent d8fb9d8222
commit 5ad7fb28f6
25 changed files with 90 additions and 91 deletions

View File

@@ -1,4 +1,4 @@
{ buildPecl, fetchurl, lib, pkgs }:
{ buildPecl, fetchurl, lib, libxl }:
let
pname = "php_excel";
phpVersion = "php7";
@@ -12,12 +12,12 @@ buildPecl {
sha256 = "0dpvih9gpiyh1ml22zi7hi6kslkilzby00z1p8x248idylldzs2n";
};
buildInputs = with pkgs; [ libxl ];
buildInputs = [ libxl ];
configureFlags = [
"--with-excel"
"--with-libxl-incdir=${pkgs.libxl}/include_c"
"--with-libxl-libdir=${pkgs.libxl}/lib"
"--with-libxl-incdir=${libxl}/include_c"
"--with-libxl-libdir=${libxl}/lib"
];
meta.maintainers = lib.teams.php.members;