diff options
author | Zhaofeng Li <hello@zhaofeng.li> | 2021-12-16 20:44:56 -0800 |
---|---|---|
committer | Zhaofeng Li <hello@zhaofeng.li> | 2021-12-16 20:44:56 -0800 |
commit | cb955555df9bfff95f8a417927f6aca265da37ee (patch) | |
tree | 56b01b31fb5caebd44c7042fb4b4041dc90c1a0c /pkgs/development/libraries/libffi/default.nix | |
parent | 7599020b2168d88475677f110d53a96895cb0557 (diff) |
libffi: Run test suite
Diffstat (limited to 'pkgs/development/libraries/libffi/default.nix')
-rw-r--r-- | pkgs/development/libraries/libffi/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index 4332f43c5afb..6a22d585fbc8 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -1,6 +1,8 @@ { lib, stdenv, fetchurl, fetchpatch , autoreconfHook +, doCheck ? true # test suite depends on dejagnu which cannot be used during bootstrapping +, dejagnu }: # Note: this package is used for bootstrapping fetchurl, and thus @@ -39,6 +41,10 @@ stdenv.mkDerivation rec { dontStrip = stdenv.hostPlatform != stdenv.buildPlatform; # Don't run the native `strip' when cross-compiling. + inherit doCheck; + + checkInputs = [ dejagnu ]; + meta = with lib; { description = "A foreign function call interface library"; longDescription = '' |