php: Drop usage of isPhp73 and isPhp74

These variables have bad names that doesn't really make full sense
This commit is contained in:
Elis Hirwing
2020-10-11 20:10:58 +02:00
parent 6d0abdd9c1
commit 3d31818f1a
4 changed files with 15 additions and 9 deletions
@@ -1,7 +1,9 @@
{ mkDerivation, fetchurl, pkgs, lib, php, isPhp74 }:
{ mkDerivation, fetchurl, pkgs, lib, php }:
let
pname = "phpmd";
version = "2.8.2";
isPhp74 = lib.versionAtLeast php.version "7.4";
in
mkDerivation {
inherit pname version;