mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
recutils: use checkInputs, fix tests, also fix build
This commit is contained in:
parent
8aeec44082
commit
3f843e0de6
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user