summary refs log tree commit diff
path: root/pkgs/development/libraries/boost
diff options
context:
space:
mode:
authorYves Fischer <yvesf+git@xapek.org>2022-08-24 23:30:03 +0200
committerYves Fischer <yvesf+git@xapek.org>2022-08-25 23:26:51 +0200
commit9e77929f19641a8c2dae0adbfb5d67b20aaae44d (patch)
treeb1d458369fd9d53d73173b7331cf99c1758e682e /pkgs/development/libraries/boost
parentefe19ddf3b262e5d7b626c4cad6d690c110fb6a3 (diff)
downloadnixpkgs-9e77929f19641a8c2dae0adbfb5d67b20aaae44d.tar
nixpkgs-9e77929f19641a8c2dae0adbfb5d67b20aaae44d.tar.gz
nixpkgs-9e77929f19641a8c2dae0adbfb5d67b20aaae44d.tar.bz2
nixpkgs-9e77929f19641a8c2dae0adbfb5d67b20aaae44d.tar.lz
nixpkgs-9e77929f19641a8c2dae0adbfb5d67b20aaae44d.tar.xz
nixpkgs-9e77929f19641a8c2dae0adbfb5d67b20aaae44d.tar.zst
nixpkgs-9e77929f19641a8c2dae0adbfb5d67b20aaae44d.zip
boost: allow enablePython in cross compilation
Diffstat (limited to 'pkgs/development/libraries/boost')
-rw-r--r--pkgs/development/libraries/boost/generic.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix
index b9bdec0cd07..013496a54d5 100644
--- a/pkgs/development/libraries/boost/generic.nix
+++ b/pkgs/development/libraries/boost/generic.nix
@@ -28,8 +28,6 @@
 # We must build at least one type of libraries
 assert enableShared || enableStatic;
 
-# Python isn't supported when cross-compiling
-assert enablePython -> stdenv.hostPlatform == stdenv.buildPlatform;
 assert enableNumpy -> enablePython;
 
 # Boost <1.69 can't be built on linux with clang >8, because pth was removed