Unverified Commit d836e16e authored by Colin's avatar Colin Committed by GitHub
Browse files

libpcap: move bluez to buildInputs (#484708)

parents 7fe86dc9 9727147b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -46,14 +46,14 @@ stdenv.mkDerivation (finalAttrs: {
    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.