From 131ead25f89e3b4fa4bbc40f8c6b09b4f2f187a7 Mon Sep 17 00:00:00 2001 From: Ivan Petkov Date: Fri, 17 Jul 2026 15:55:45 -0700 Subject: [PATCH] photoprism: pin tensorflow to python313 --- pkgs/by-name/ph/photoprism/backend.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/ph/photoprism/backend.nix b/pkgs/by-name/ph/photoprism/backend.nix index 32abb4cf2f46..41e70e73a102 100644 --- a/pkgs/by-name/ph/photoprism/backend.nix +++ b/pkgs/by-name/ph/photoprism/backend.nix @@ -2,7 +2,7 @@ lib, buildGoModule, coreutils, - python3, + python313, src, version, pkg-config, @@ -11,6 +11,9 @@ }: let + # tensorflow does not yet support python314: https://github.com/tensorflow/tensorflow/issues/102890 + python3 = python313; + # we need to copy these, to add the symlinks, so the linker actually finds these libraries libtensorflow = symlinkJoin { name = "libtensorflow";