From 3f843e0de600e4d81fbbeaeba0755cebbdee77c9 Mon Sep 17 00:00:00 2001 From: Jan Malakhovski Date: Wed, 8 Aug 2018 21:35:55 +0000 Subject: recutils: use checkInputs, fix tests, also fix build --- pkgs/tools/misc/recutils/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'pkgs/tools/misc/recutils/default.nix') diff --git a/pkgs/tools/misc/recutils/default.nix b/pkgs/tools/misc/recutils/default.nix index a1fa7dee0836..3dd3baed0996 100644 --- a/pkgs/tools/misc/recutils/default.nix +++ b/pkgs/tools/misc/recutils/default.nix @@ -8,14 +8,16 @@ stdenv.mkDerivation rec { sha256 = "0cdwa4094x3yx7vn98xykvnlp9rngvd58d19vs3vh5hrvggccg93"; }; - doCheck = true; - hardeningDisable = [ "format" ]; - buildInputs = [ curl emacs ] ++ (stdenv.lib.optionals doCheck [ check bc ]); + buildInputs = [ curl emacs ]; + + checkInputs = [ check bc ]; + doCheck = true; + # one file fails to compile with emacs 26 postInstall = '' - ${emacs}/bin/emacs -Q -batch -f batch-byte-compile $out/share/emacs/site-lisp/*.el #*/ + ${emacs}/bin/emacs -Q -batch -f batch-byte-compile $out/share/emacs/site-lisp/*.el || true ''; meta = { -- cgit 1.4.1