Change:
The package has been . Trying to install results in the following error: Why was the package marked as broken? Is there a way to help fix it? System: Nix version: Nixpkgs version:
According to the project homepage it requires a different version of the vte library: If you package this one and add it as a dependency the package should work again.
Thanks for the response . Could you help understand the reasoning behind the commit that marked it as broken? Was the problem that was being packaged with the wrong dependency?
The dependency it needs is not in NixPkgs, so it has to be packaged and nobody cared enough to do it.
We had the patched vte under gnome-3.20, but 3.20 was now removed whole without porting that to the vte in 3.22. EDIT: refs and .
I've wasted hours trying to fix building the special vte library, you may try to continue: This fails with: I don't see marking one package broken preferable to keeping the whole gnome-3.20 in tree, sadly. Please open a pull request if you manage to succeed, but I don't see myself wasting more time on this otherwise soon.
I fixed the errors you found during compilation and submitted a PR to upstream VTE. As the changes may take a while to propagate down into vte-ng, I them as patches to the vte-ng package, which is now used to compile termite.

Discussion:
homepage = https://github.com/thestinger/termite/; maintainers = with maintainers; [ koral garbas ]; platforms = platforms.all; <del> broken = true; </del> }; }; in if configFile == null then termite else symlinkJoin {

<ins> diff --git a/src/vteconv.cc b/src/vteconv.cc index b78d3928..5cb63e7e 100644 --- a/src/vteconv.cc +++ b/src/vteconv.cc @@ -771,7 +771,7 @@ int main (int argc, char *argv[]) { -        g_test_init (&argc, &argv, NULL); +        g_test_init (&argc, &argv, (char *)NULL); g_test_add_func ("/vte/conv/utf8/strlen", test_utf8_strlen); g_test_add_func ("/vte/conv/utf8/validate", test_utf8_validate); diff --git a/src/vtetypes.cc b/src/vtetypes.cc index 1365a295..8f38c9d9 100644 --- a/src/vtetypes.cc +++ b/src/vtetypes.cc @@ -407,7 +407,7 @@ test_util_smart_fd(void) int main(int argc, char *argv[]) { -        g_test_init (&argc, &argv, NULL); +        g_test_init (&argc, &argv, (char *)NULL); g_test_add_func("/vte/c++/grid/coords", test_grid_coords); g_test_add_func("/vte/c++/grid/span", test_grid_span); </ins>

<ins> diff --git a/src/vteseq.cc b/src/vteseq.cc index 2330939d..e0ac14eb 100644 --- a/src/vteseq.cc +++ b/src/vteseq.cc @@ -3409,7 +3409,7 @@ vte_sequence_handler_iterm2_1337(VteTerminalPrivate *that, GValueArray *params) #define VTE_SEQUENCE_HANDLER(name) name static const struct vteseq_n_struct * -vteseq_n_lookup (register const char *str, register unsigned int len); +vteseq_n_lookup (register const char *str, register size_t len); #include"vteseq-n.cc" #undef VTE_SEQUENCE_HANDLER </ins>

<ins> { gnome3, fetchFromGitHub, autoconf, automake, gtk_doc, gettext, libtool, gperf }: gnome3.vte.overrideAttrs (oldAttrs: rec { name = "vte-ng-${version}"; version = "0.46.1.a"; src = fetchFromGitHub { owner = "thestinger"; repo = "vte-ng"; rev = version; sha256 = "125fpibid1liz50d7vbxy71pnm8b01x90xnkr4z3419b90lybr0a"; }; # The patches apply the changes from https://github.com/GNOME/vte/pull/7 and # can be removed once the commits are merged into vte-ng. patches = [ ./fix_g_test_init_calls.patch ./fix_vteseq_n_lookup_declaration.patch ]; preConfigure = oldAttrs.preConfigure + "; ./autogen.sh"; nativeBuildInputs = [ gtk_doc autoconf automake gettext libtool ]; buildInputs = oldAttrs.buildInputs ++ [ gperf ]; }) </ins>

vte_290 = callPackage ./core/vte/2.90.nix { }; <ins> vte-ng = callPackage ./core/vte/ng.nix { }; </ins> vino = callPackage ./core/vino { }; yelp = callPackage ./core/yelp { };

vte = gnome2.vte.override { pythonSupport = true; }; }; <del> termite = callPackage ../applications/misc/termite { vte = null; }; </del> <ins> termite = callPackage ../applications/misc/termite { vte = gnome3.vte-ng; }; </ins> tesseract = callPackage ../applications/graphics/tesseract { };