Commit 9727147b authored by Marc Bornand's avatar Marc Bornand
Browse files

libpcap: move bluez to buildInputs

parent c078aceb
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -46,14 +46,14 @@ stdenv.mkDerivation rec {
    bash
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [ libnl ]
  ++ lib.optionals withRemote [ libxcrypt ];
  ++ lib.optionals withRemote [ libxcrypt ]
  ++ lib.optionals withBluez [ bluez ];

  nativeBuildInputs = [
    flex
    bison
  ]
  ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ]
  ++ lib.optionals withBluez [ bluez.dev ];
  ++ lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];

  # We need to force the autodetection because detection doesn't
  # work in pure build environments.