Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #233409 from NickCao/ftxui

ftxui: set strictDeps, fix cross compilation

authored by

Nikolay Korotkiy and committed by
GitHub
4cd4aecf 31a0a68d

+6 -4
+6 -4
pkgs/development/libraries/ftxui/default.nix
··· 19 19 sha256 = "sha256-qFgCLV7sgGxlL18sThqpl+vyXL68GXcbYqMG7mXhsB4="; 20 20 }; 21 21 22 + strictDeps = true; 23 + 22 24 nativeBuildInputs = [ 23 25 cmake 24 26 doxygen 25 27 graphviz 26 28 ]; 27 29 28 - nativeCheckInputs = [ 29 - gbenchmark 30 + checkInputs = [ 30 31 gtest 32 + gbenchmark 31 33 ]; 32 34 33 35 cmakeFlags = [ 34 36 "-DFTXUI_BUILD_EXAMPLES=OFF" 35 37 "-DFTXUI_BUILD_DOCS=ON" 36 - "-DFTXUI_BUILD_TESTS=ON" 38 + "-DFTXUI_BUILD_TESTS=${if doCheck then "ON" else "OFF"}" 37 39 ]; 38 40 39 - doCheck = true; 41 + doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 40 42 41 43 meta = with lib; { 42 44 homepage = "https://github.com/ArthurSonzogni/FTXUI";