diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 525ef8c1c6d9..d49de17ebce4 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -216,7 +216,7 @@ in with passthru; stdenv.mkDerivation { else ./3.7/fix-finding-headers-when-cross-compiling.patch ) - ] ++ optionals (isPy37 || isPy38) [ + ] ++ optionals (isPy36 || isPy37 || isPy38) [ # Backport a fix for ctypes.util.find_library. ./3.7/find_library.patch ];