Skip to content

Commit

Permalink
python3Packages.tensorflow: pin the older gcc
Browse files Browse the repository at this point in the history
...to fix the configuration error after merging staging-next
  • Loading branch information
SomeoneSerge committed Jan 12, 2024
1 parent 497f611 commit ff1232c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit ff1232c

Please sign in to comment.