gtk-sharp-2_0: fix with patch from arch

This commit is contained in:
Maciej Krüger 2021-05-18 16:26:25 +02:00
parent 9b92a81723
commit 6e98a27ffa
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -20,6 +20,7 @@
, automake
, libtool
, which
, fetchpatch
}:
stdenv.mkDerivation rec {
@ -34,6 +35,13 @@ stdenv.mkDerivation rec {
sha256 = "1vy6yfwkfv6bb45bzf4g6dayiqkvqqvlr02rsnhd10793hlpqlgg";
};
patches = [
(fetchpatch {
url = "https://projects.archlinux.de/svntogit/packages.git/plain/trunk/gtk-sharp2-2.12.12-gtkrange.patch?h=packages/gtk-sharp-2";
sha256 = "bjx+OfgWnN8SO82p8G7pbGuxJ9EeQxMLeHnrtEm8RV8=";
})
];
postInstall = ''
pushd $out/bin
for f in gapi2-*