diff options
author | talyz <kim.lindberger@gmail.com> | 2020-04-26 16:41:39 +0200 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2020-04-29 13:45:07 +0200 |
commit | 3bfd4e864f6c97c47efb1a353566e4fe4402b611 (patch) | |
tree | 5104229c1ec37948fd247281ca3f3c537e16f507 /pkgs/development/interpreters/php | |
parent | ef990961bc98e6b8dbad47b0ea0da2b302df5476 (diff) | |
download | nixlib-3bfd4e864f6c97c47efb1a353566e4fe4402b611.tar nixlib-3bfd4e864f6c97c47efb1a353566e4fe4402b611.tar.gz nixlib-3bfd4e864f6c97c47efb1a353566e4fe4402b611.tar.bz2 nixlib-3bfd4e864f6c97c47efb1a353566e4fe4402b611.tar.lz nixlib-3bfd4e864f6c97c47efb1a353566e4fe4402b611.tar.xz nixlib-3bfd4e864f6c97c47efb1a353566e4fe4402b611.tar.zst nixlib-3bfd4e864f6c97c47efb1a353566e4fe4402b611.zip |
php: Add passthru.tests
Diffstat (limited to 'pkgs/development/interpreters/php')
-rw-r--r-- | pkgs/development/interpreters/php/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix index 78dc5d2e98a0..57a0b716979e 100644 --- a/pkgs/development/interpreters/php/default.nix +++ b/pkgs/development/interpreters/php/default.nix @@ -1,11 +1,11 @@ # We have tests for PCRE and PHP-FPM in nixos/tests/php/ or # both in the same attribute named nixosTests.php -{ callPackage, lib, stdenv }@_args: +{ callPackage, lib, stdenv, nixosTests }@_args: let generic = - { callPackage, lib, stdenv, config, fetchurl, makeWrapper + { callPackage, lib, stdenv, nixosTests, config, fetchurl, makeWrapper , symlinkJoin, writeText, autoconf, automake, bison, flex, libtool , pkgconfig, re2c, apacheHttpd, libargon2, libxml2, pcre, pcre2 , systemd, valgrind @@ -120,6 +120,7 @@ let withExtensions = mkWithExtensions allArgs allExtensionFunctions; phpIni = "${phpWithExtensions}/lib/php.ini"; unwrapped = php; + tests = nixosTests.php; inherit (php-packages) packages extensions; }; paths = [ php ]; |