From 71f2c4d01986adf1782fb08800bde551b107dd33 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 16 Oct 2025 20:24:54 +0000 Subject: [PATCH] wayland-bongocat: lift make flags out of `preBuild` into `makeFlags` --- pkgs/by-name/wa/wayland-bongocat/package.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/wa/wayland-bongocat/package.nix b/pkgs/by-name/wa/wayland-bongocat/package.nix index 5574421c87ad..a6135aab6dd2 100644 --- a/pkgs/by-name/wa/wayland-bongocat/package.nix +++ b/pkgs/by-name/wa/wayland-bongocat/package.nix @@ -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