Merge pull request #123521 from mkg20001/gtk-2-fix
gtk-sharp-2_0: fix with patch from arch
commitc4a2f86ebef28abfbd02d37577b7c7405ae997d4
authorMaciej Krüger <mkg20001@gmail.com>
dateTue 18 May 2021, 17:27 (6 years ago)
parent362ca086e98a27
pkgs/development/libraries/gtk-sharp/2.0.nix+8
@@ -20,6 +20,7 @@
2020, automake
2121, libtool
2222, which
23+, fetchpatch
2324}:
2425
2526stdenv.mkDerivation rec {
@@ -34,6 +35,13 @@ stdenv.mkDerivation rec {
3435 sha256 = "1vy6yfwkfv6bb45bzf4g6dayiqkvqqvlr02rsnhd10793hlpqlgg";
3536 };
3637
38+ patches = [
39+ (fetchpatch {
40+ url = "https://projects.archlinux.de/svntogit/packages.git/plain/trunk/gtk-sharp2-2.12.12-gtkrange.patch?h=packages/gtk-sharp-2";
41+ sha256 = "bjx+OfgWnN8SO82p8G7pbGuxJ9EeQxMLeHnrtEm8RV8=";
42+ })
43+ ];
44+
3745 postInstall = ''
3846 pushd $out/bin
3947 for f in gapi2-*