libnl: disable pythonSupport for cross

This commit is contained in:
Robin Gloster
2019-05-07 02:50:05 +02:00
parent 1bdae8f675
commit d8a74e9a0c

View File

@@ -1,5 +1,5 @@
{ stdenv, file, lib, fetchFromGitHub, fetchpatch, autoreconfHook, bison, flex, pkgconfig
, pythonSupport ? true, swig ? null, python}:
, pythonSupport ? stdenv.buildPlatform == stdenv.hostPlatform, swig ? null, python}:
stdenv.mkDerivation rec {
name = "libnl-${version}";