haskell-freenect: override is required only for old versions

This commit is contained in:
Peter Simons 2015-09-16 09:11:17 +02:00
parent 2aaa587b71
commit 786ebf4e12

View File

@ -982,11 +982,8 @@ self: super: {
];
});
# https://github.com/chrisdone/freenect/pull/11
freenect = overrideCabal super.freenect (drv: {
libraryPkgconfigDepends = [ pkgs.freenect ];
prePatch = '' echo " Pkgconfig-Depends: libfreenect" >> freenect.cabal '';
});
# Old versions don't detect this library reliably.
freenect = appendConfigureFlag super.freenect "--extra-include-dirs=${pkgs.freenect}/include/libfreenect --extra-lib-dirs=${pkgs.freenect}/lib";
# https://github.com/ivanperez-keera/hcwiid/pull/4
hcwiid = overrideCabal super.hcwiid (drv: {