summary refs log tree commit diff
path: root/pkgs/tools/bluetooth/openobex
diff options
context:
space:
mode:
authorAristid Breitkreuz <aristidb@gmail.com>2014-11-15 22:32:36 +0100
committerAristid Breitkreuz <aristidb@gmail.com>2014-11-15 22:32:47 +0100
commit05d4db4c7196f8c9b4000f2210c0cd04958355ab (patch)
tree8b6cf04c1ebd7d9211b56aef125c38513566286b /pkgs/tools/bluetooth/openobex
parentec453f984e3c5c89ca27df59d0afe28a163adbac (diff)
downloadnixlib-05d4db4c7196f8c9b4000f2210c0cd04958355ab.tar
nixlib-05d4db4c7196f8c9b4000f2210c0cd04958355ab.tar.gz
nixlib-05d4db4c7196f8c9b4000f2210c0cd04958355ab.tar.bz2
nixlib-05d4db4c7196f8c9b4000f2210c0cd04958355ab.tar.lz
nixlib-05d4db4c7196f8c9b4000f2210c0cd04958355ab.tar.xz
nixlib-05d4db4c7196f8c9b4000f2210c0cd04958355ab.tar.zst
nixlib-05d4db4c7196f8c9b4000f2210c0cd04958355ab.zip
fix openobex build
Diffstat (limited to 'pkgs/tools/bluetooth/openobex')
-rw-r--r--pkgs/tools/bluetooth/openobex/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/bluetooth/openobex/default.nix b/pkgs/tools/bluetooth/openobex/default.nix
index fc4d8611f877..7baf1ac3ed98 100644
--- a/pkgs/tools/bluetooth/openobex/default.nix
+++ b/pkgs/tools/bluetooth/openobex/default.nix
@@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
 
   patchPhase = ''
     sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt
+    sed -i "/if ( PKGCONFIG_UDEV_FOUND )/,/endif ( PKGCONFIG_UDEV_FOUND )/d" udev/CMakeLists.txt
     '';
 
   meta = {