mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
freenect: fix build
It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
This commit is contained in:
parent
71557e5141
commit
e37c162cd9
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, cmake, libusb, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, libusb1, pkgconfig, freeglut, libGLU, libGL, libXi, libXmu
|
||||
, GLUT, Cocoa
|
||||
}:
|
||||
|
||||
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1963xndbiwgj01q17zv6xbqlsbhfd236dkbdwkbjw4b0gr8kqzq9";
|
||||
};
|
||||
|
||||
buildInputs = [ libusb freeglut libGLU libGL libXi libXmu ]
|
||||
buildInputs = [ libusb1 freeglut libGLU libGL libXi libXmu ]
|
||||
++ lib.optionals stdenv.isDarwin [ GLUT Cocoa ];
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
|
Loading…
Reference in a new issue