php: Drop usage of isPhp73 and isPhp74
These variables have bad names that doesn't really make full sense
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
{ buildPecl, lib, fetchFromGitHub, isPhp73, isPhp74, pcre' }:
|
||||
{ buildPecl, lib, fetchFromGitHub, php, pcre' }:
|
||||
let
|
||||
pname = "pthreads";
|
||||
|
||||
isPhp73 = lib.versionAtLeast php.version "7.3";
|
||||
isPhp74 = lib.versionAtLeast php.version "7.4";
|
||||
|
||||
version = if isPhp73 then "3.2.0-dev" else "3.2.0";
|
||||
|
||||
src = fetchFromGitHub ({
|
||||
|
||||
Reference in New Issue
Block a user