From 9b3277a048d7ddef32b67acacddbe853ff949aa4 Mon Sep 17 00:00:00 2001 From: David Baynard Date: Wed, 2 Nov 2022 20:00:54 +0000 Subject: [PATCH] Apply tensorflow override to tensorflow-macos In both cases, the `tensorboard` executable conflicts with that from `tensorboard` itself. --- overrides/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/overrides/default.nix b/overrides/default.nix index 42e4468..e7e0bfa 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -2229,6 +2229,14 @@ lib.composeManyExtensions [ } ); + tensorflow-macos = super.tensorflow-macos.overridePythonAttrs ( + old: { + postInstall = '' + rm $out/bin/tensorboard + ''; + } + ); + tensorpack = super.tensorpack.overridePythonAttrs ( old: { postPatch = ''