aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/profiling/sysprof/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/profiling/sysprof/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/profiling/sysprof/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/profiling/sysprof/default.nix b/nixpkgs/pkgs/development/tools/profiling/sysprof/default.nix
index fc4e51801df..1e9dae3f2bc 100644
--- a/nixpkgs/pkgs/development/tools/profiling/sysprof/default.nix
+++ b/nixpkgs/pkgs/development/tools/profiling/sysprof/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, desktop-file-utils
, fetchurl
+, fetchpatch
, gettext
, glib
, gtk3
@@ -28,6 +29,15 @@ stdenv.mkDerivation rec {
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 = [
desktop-file-utils
gettext