Apply changes recommended by @Mic92
This commit is contained in:
parent
4f3649be76
commit
1cff740488
@ -12,7 +12,7 @@ let
|
|||||||
let php7 = lib.versionAtLeast version "7.0";
|
let php7 = lib.versionAtLeast version "7.0";
|
||||||
mysqlHeaders = mysql.lib.dev or mysql;
|
mysqlHeaders = mysql.lib.dev or mysql;
|
||||||
mysqlndSupport = config.php.mysqlnd or false;
|
mysqlndSupport = config.php.mysqlnd or false;
|
||||||
mysqlBuildInputs = if mysqlndSupport then [] else [ mysqlHeaders ];
|
mysqlBuildInputs = lib.optional (!mysqlndSupport) mysqlHeaders;
|
||||||
|
|
||||||
in composableDerivation.composableDerivation {} (fixed: {
|
in composableDerivation.composableDerivation {} (fixed: {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user