From 9e77929f19641a8c2dae0adbfb5d67b20aaae44d Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Wed, 24 Aug 2022 23:30:03 +0200 Subject: boost: allow enablePython in cross compilation --- pkgs/development/libraries/boost/generic.nix | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkgs/development/libraries/boost') 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 -- cgit 1.4.1