python3Packages.tensorflow: pin the older gcc

...to fix the configuration error after merging staging-next
This commit is contained in:
Someone Serge
2024-01-12 17:45:06 +00:00
parent 497f6119e2
commit ff1232cf63
+7
View File
@@ -14143,6 +14143,13 @@ self: super: with self; {
grpc = compat.grpcTF;
grpcio = compat.grpcioTF;
tensorboard = compat.tensorboardTF;
# Tensorflow 2.13 doesn't support gcc13:
# https://github.com/tensorflow/tensorflow/issues/61289
#
# We use the nixpkgs' default libstdc++ to stay compatible with other
# python modules
stdenv = pkgs.stdenvAdapters.useLibsFrom stdenv pkgs.gcc12Stdenv;
};
tensorflow-datasets = callPackage ../development/python-modules/tensorflow-datasets { };