about summary refs log tree commit diff
path: root/pkgs/development/libraries/libfyaml
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libfyaml')
-rw-r--r--pkgs/development/libraries/libfyaml/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libfyaml/default.nix b/pkgs/development/libraries/libfyaml/default.nix
index a95c2d523b6a..dfb540b0bd29 100644
--- a/pkgs/development/libraries/libfyaml/default.nix
+++ b/pkgs/development/libraries/libfyaml/default.nix
@@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoreconfHook pkg-config ];
 
+  doCheck = true;
+
+  preCheck = ''
+    patchShebangs test
+  '';
+
   meta = with lib; {
     homepage = "https://github.com/pantoniou/libfyaml";
     description = "Fully feature complete YAML parser and emitter, supporting the latest YAML spec and passing the full YAML testsuite";