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; {