diff options
author | Peter Hoeg <peter@speartail.com> | 2017-03-08 20:26:18 +0800 |
---|---|---|
committer | Peter Hoeg <peter@speartail.com> | 2017-03-08 20:31:29 +0800 |
commit | 26625c928be8ce503b23f5302222bdcb380a4445 (patch) | |
tree | 5f3a1bad0ba512ccde1f791f23ae10461c65e4f8 | |
parent | a9e990b818b3922f0994178bd12970df60abaa22 (diff) | |
download | nixpkgs-26625c928be8ce503b23f5302222bdcb380a4445.tar nixpkgs-26625c928be8ce503b23f5302222bdcb380a4445.tar.gz nixpkgs-26625c928be8ce503b23f5302222bdcb380a4445.tar.bz2 nixpkgs-26625c928be8ce503b23f5302222bdcb380a4445.tar.lz nixpkgs-26625c928be8ce503b23f5302222bdcb380a4445.tar.xz nixpkgs-26625c928be8ce503b23f5302222bdcb380a4445.tar.zst nixpkgs-26625c928be8ce503b23f5302222bdcb380a4445.zip |
neovim-qt: run tests
-rw-r--r-- | pkgs/applications/editors/neovim/qt.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/applications/editors/neovim/qt.nix b/pkgs/applications/editors/neovim/qt.nix index b2eef4305f2..26f2a3b6941 100644 --- a/pkgs/applications/editors/neovim/qt.nix +++ b/pkgs/applications/editors/neovim/qt.nix @@ -17,10 +17,10 @@ stdenv.mkDerivation rec { "-DMSGPACK_LIBRARIES=${libmsgpack}/lib/libmsgpackc.so" ]; - doCheck = false; # 5 out of 7 fail + doCheck = true; buildInputs = with pythonPackages; [ - qtbase libmsgpack + neovim qtbase libmsgpack ] ++ (with pythonPackages; [ jinja2 msgpack python ]); @@ -29,8 +29,12 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - # avoid cmake trying to download libmsgpack - preConfigure = "echo \"\" > third-party/CMakeLists.txt"; + preConfigure = '' + # avoid cmake trying to download libmsgpack + echo "" > third-party/CMakeLists.txt + # we rip out the gui test as spawning a GUI fails in our build environment + sed -i '/^add_xtest_gui/d' test/CMakeLists.txt + ''; postInstall = '' wrapQtProgram "$out/bin/nvim-qt" \ |