Commit 71f2c4d0 authored by Colin's avatar Colin
Browse files

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

parent 1506cdec
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -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