wayland-bongocat: use stdenv CC instead of forcing CC = gcc

notably, this fixes cross compilation (in which `CC` is flavored,
like `aarch64-linux-gnu-gcc`).
This commit is contained in:
Colin
2025-10-16 20:27:13 +00:00
parent 71f2c4d019
commit ae8a7fd9a2
@@ -34,6 +34,11 @@ stdenv.mkDerivation (finalAttrs: {
"release"
];
postPatch = ''
substituteInPlace Makefile \
--replace-fail 'CC = gcc' 'CC ?= gcc'
'';
installPhase = ''
runHook preInstall