From 9d8defa06a5f0a6829eb87382886ef507974a1af Mon Sep 17 00:00:00 2001 From: Tomasz Kontusz Date: Tue, 3 Feb 2015 21:33:26 +0100 Subject: [PATCH] Build and install the .so for glfw 2.x --- pkgs/development/libraries/glfw/2.x.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/glfw/2.x.nix b/pkgs/development/libraries/glfw/2.x.nix index 8750cd955a65..9ba0cf081ce9 100644 --- a/pkgs/development/libraries/glfw/2.x.nix +++ b/pkgs/development/libraries/glfw/2.x.nix @@ -16,7 +16,9 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out - make x11-install PREFIX=$out + make x11-dist-install PREFIX=$out + mv $out/lib/libglfw.so $out/lib/libglfw.so.2 + ln -s libglfw.so.2 $out/lib/libglfw.so ''; meta = with stdenv.lib; {