Skip to content

Commit

Permalink
neovim-qt: run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Hoeg committed Mar 8, 2017
1 parent a9e990b commit 26625c9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/applications/editors/neovim/qt.nix
Expand Up @@ -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
]);
Expand All @@ -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" \
Expand Down

0 comments on commit 26625c9

Please sign in to comment.