Unverified Commit ff1232cf authored by Someone Serge's avatar Someone Serge
Browse files

python3Packages.tensorflow: pin the older gcc

...to fix the configuration error after merging staging-next
parent 497f6119
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 { };