stone-phaser: Add missing libGL

Cairo will soon no longer propagate libGL. The DPF submodule needs this:

src/pugl/pugl.h:39:14: fatal error: GL/gl.h: No such file or directory
   39 | #    include <GL/gl.h>
      |              ^~~~~~~~~
compilation terminated.

(See also the fix for string-machine, which has the same build issue)
This commit is contained in:
Bobby Rong 2023-10-18 23:50:15 +08:00 committed by Alyssa Ross
parent c1ac656934
commit 442b2e8c35
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, xorg, cairo, lv2, libjack2, mesa, pkg-config }:
{ lib, stdenv, fetchFromGitHub, xorg, cairo, libGL, lv2, libjack2, mesa, pkg-config }:
stdenv.mkDerivation rec {
pname = "stone-phaser";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [
xorg.libX11 cairo lv2 libjack2 mesa
xorg.libX11 cairo libGL lv2 libjack2 mesa
];
postPatch = ''