summary refs log tree commit diff
path: root/pkgs/os-specific/linux/libnl
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2019-05-07 02:50:05 +0200
committerRobin Gloster <mail@glob.in>2019-05-07 18:14:10 +0200
commitd8a74e9a0c85bf0f9a862084b8603b161fc6461e (patch)
treef8b7cf684740f7404805a502b9038e9f0ccdc9b0 /pkgs/os-specific/linux/libnl
parent1bdae8f675db6930dbdb7b660a266f77d26b8819 (diff)
downloadnixpkgs-d8a74e9a0c85bf0f9a862084b8603b161fc6461e.tar
nixpkgs-d8a74e9a0c85bf0f9a862084b8603b161fc6461e.tar.gz
nixpkgs-d8a74e9a0c85bf0f9a862084b8603b161fc6461e.tar.bz2
nixpkgs-d8a74e9a0c85bf0f9a862084b8603b161fc6461e.tar.lz
nixpkgs-d8a74e9a0c85bf0f9a862084b8603b161fc6461e.tar.xz
nixpkgs-d8a74e9a0c85bf0f9a862084b8603b161fc6461e.tar.zst
nixpkgs-d8a74e9a0c85bf0f9a862084b8603b161fc6461e.zip
libnl: disable pythonSupport for cross
Diffstat (limited to 'pkgs/os-specific/linux/libnl')
-rw-r--r--pkgs/os-specific/linux/libnl/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/libnl/default.nix b/pkgs/os-specific/linux/libnl/default.nix
index 1caf91b0bb6..34d10d3aa5f 100644
--- a/pkgs/os-specific/linux/libnl/default.nix
+++ b/pkgs/os-specific/linux/libnl/default.nix
@@ -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}";