Commit 273d8ab1 authored by Rick van Schijndel's avatar Rick van Schijndel
Browse files

startup-notification: fix cross compilation

assume that realloc implementation is always sane when cross-compiling

according to gnu standards this should be ok, so let's just hardcode
this and hope for the best.
parent fd4afd6d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -11,6 +11,10 @@ stdenv.mkDerivation {
    sha256 = "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a";
  };

  configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.targetPlatform) [
    "lf_cv_sane_realloc=yes"
  ];

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ libX11 libxcb xcbutil ];