summary refs log tree commit diff
path: root/pkgs/development/libraries/utf8proc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/utf8proc/default.nix')
-rw-r--r--pkgs/development/libraries/utf8proc/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/utf8proc/default.nix b/pkgs/development/libraries/utf8proc/default.nix
index 05b23e25aff..3f8f47793a4 100644
--- a/pkgs/development/libraries/utf8proc/default.nix
+++ b/pkgs/development/libraries/utf8proc/default.nix
@@ -15,6 +15,8 @@ stdenv.mkDerivation rec {
 
   cmakeFlags = [
     "-DBUILD_SHARED_LIBS=ON"
+    "-DUTF8PROC_ENABLE_TESTING=ON"
+    "-DCMAKE_SKIP_BUILD_RPATH=OFF"
   ];
 
   # the pkg-config file is not created in the cmake installation
@@ -23,6 +25,8 @@ stdenv.mkDerivation rec {
   preConfigure = "make libutf8proc.pc prefix=$out";
   postInstall = "install -Dm644 ../libutf8proc.pc -t $out/lib/pkgconfig/";
 
+  doCheck = true;
+
   meta = with stdenv.lib; {
     description = "A clean C library for processing UTF-8 Unicode data";
     homepage = "https://juliastrings.github.io/utf8proc/";