mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
idrisPackages.glfw: Fix runtime
In order to run programs, pkgconfig needs to be present so it can tell it where to find glfw3 and gl.
This commit is contained in:
parent
7be93a4ca7
commit
321ec862de
1 changed files with 6 additions and 0 deletions
|
@ -10,8 +10,14 @@ build-idris-package {
|
|||
|
||||
idrisDeps = [ effects ];
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkgconfig ];
|
||||
extraBuildInputs = [ pkgs.glfw ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/MakefileGlfw \
|
||||
--replace glfw3 "glfw3 gl"
|
||||
'';
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "eckart";
|
||||
repo = "glfw-idris";
|
||||
|
|
Loading…
Reference in a new issue