soil: fix build

This commit is contained in:
Jonathan Ringer 2020-07-04 08:13:22 -07:00
parent ff5aaa33e9
commit ee63ff7d4e
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, mesa, libX11 }: { stdenv, fetchurl, unzip, mesa, libX11, libGL }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "soil"; name = "soil";
@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "00gpwp9dldzhsdhksjvmbhsd2ialraqbv6v6dpikdmpncj6mnc52"; sha256 = "00gpwp9dldzhsdhksjvmbhsd2ialraqbv6v6dpikdmpncj6mnc52";
}; };
buildInputs = [ unzip mesa libX11 ]; buildInputs = [ unzip mesa libGL libX11 ];
sourceRoot = "Simple OpenGL Image Library/projects/makefile"; sourceRoot = "Simple OpenGL Image Library/projects/makefile";
preBuild = "mkdir obj"; preBuild = "mkdir obj";