bubblewrap: fix compile on gcc 15

This commit is contained in:
2026-05-31 11:49:47 +02:00
parent 874ea27f89
commit 2f7f408466

View File

@@ -27,6 +27,10 @@ stdenv.mkDerivation rec {
--replace "/var/tmp" "$TMPDIR"
'';
# GCC 15 (nixpkgs 26.05) defaults to -std=gnu23, where `bool`/`true`/`false`
# are keywords; this old bubblewrap fork still does `typedef int bool;`.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
nativeBuildInputs = [
docbook_xsl
libxslt