sysprof: fix build on i686

Closes: https://github.com/NixOS/nixpkgs/issues/51133
This commit is contained in:
Jan Tojnar 2020-06-02 05:52:32 +02:00
parent cfa5a0c0e0
commit f5ca4bc6ab
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, desktop-file-utils , desktop-file-utils
, fetchurl , fetchurl
, fetchpatch
, gettext , gettext
, glib , glib
, gtk3 , gtk3
@ -28,6 +29,15 @@ stdenv.mkDerivation rec {
sha256 = "hnDbTaz3shnTDFdcRlsXyO1nJNut40fyzelUi/8DkQg="; sha256 = "hnDbTaz3shnTDFdcRlsXyO1nJNut40fyzelUi/8DkQg=";
}; };
patches = [
# Fix 32-bit builds
# https://gitlab.gnome.org/GNOME/sysprof/merge_requests/24
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/sysprof/commit/5dea152c7728f5a37370ad8a229115833e36b4f6.patch";
sha256 = "D6DFx+T2jHSxyuygx8vumfqYkM1v1P0qbesmMfLR5jA=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
desktop-file-utils desktop-file-utils
gettext gettext