bubblewrap: fix compile on gcc 15
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user