mamba: mark as broken

Failing Hydra build: https://hydra.nixos.org/build/230518081

So apparently `vasprintf`, `asprintf` are now available by default, not
just with `_GNU_SOURCE` and now `mamba` (or to be precise, its
dependency `xputty`) fails like this:

    ../xputty/xfilepicker.c:225:5: error: format not a string literal and no format arguments [-Werror=format-security]
      225 |     asprintf(&filepicker->path, path);
          |     ^~~~~~~~

It seems as if now that these functions are available by default, the
format-security check from gcc actually works.
This commit is contained in:
Maximilian Bosch 2023-08-19 14:36:18 +02:00
parent b6a5be4584
commit a44542f7f6
No known key found for this signature in database
GPG key ID: 9A6EEA275CA5BE0A

View file

@ -37,5 +37,8 @@ stdenv.mkDerivation rec {
license = licenses.bsd0;
maintainers = with maintainers; [ magnetophon orivej ];
platforms = platforms.linux;
# 2023-08-19, `-Werror=format-security` fails for xputty
# reported as https://github.com/brummer10/libxputty/issues/12
broken = true;
};
}