wayland-bongocat: lift make flags out of preBuild into makeFlags

This commit is contained in:
Colin
2025-10-16 20:24:54 +00:00
parent 1506cdec76
commit 71f2c4d019
+4 -6
View File
@@ -29,13 +29,11 @@ stdenv.mkDerivation (finalAttrs: {
wayland-protocols
];
# Build phases
# Ensure that the Makefile has the correct directory with the Wayland protocols
preBuild = ''
export WAYLAND_PROTOCOLS_DIR="${wayland-protocols}/share/wayland-protocols"
'';
makeFlags = [
"WAYLAND_PROTOCOLS_DIR=${wayland-protocols}/share/wayland-protocols"
"release"
];
makeFlags = [ "release" ];
installPhase = ''
runHook preInstall