about summary refs log tree commit diff
path: root/pkgs/development/libraries/fcft/default.nix
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-08-17 14:49:42 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2020-08-17 14:51:31 +0200
commit5bb0129062e05655d3408ebdc5e3a27141cefd83 (patch)
tree88457527e1e04d36f667b3eb2a1b7823f37e73c2 /pkgs/development/libraries/fcft/default.nix
parent15affbfbd590275e9d123644b706436d285fd358 (diff)
fcft: enable tests, use release build type
Diffstat (limited to 'pkgs/development/libraries/fcft/default.nix')
-rw-r--r--pkgs/development/libraries/fcft/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/fcft/default.nix b/pkgs/development/libraries/fcft/default.nix
index 2cb056437cbd7..0c5d2b334ac2e 100644
--- a/pkgs/development/libraries/fcft/default.nix
+++ b/pkgs/development/libraries/fcft/default.nix
@@ -1,5 +1,5 @@
 { stdenv, lib, fetchgit, pkg-config, meson, ninja, scdoc
-,freetype, fontconfig, pixman, tllist }:
+,freetype, fontconfig, pixman, tllist, check }:
 
 stdenv.mkDerivation rec {
   pname = "fcft";
@@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkg-config meson ninja scdoc ];
   buildInputs = [ freetype fontconfig pixman tllist ];
+  checkInputs = [ check ];
+
+  mesonFlags = [ "--buildtype=release" ];
+
+  doCheck = true;
 
   meta = with lib; {
     homepage = "https://codeberg.org/dnkl/fcft";