From 224618963528dc6cc293f9acd660f9c837d86f17 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 6 May 2021 00:09:40 +0200 Subject: [PATCH] Add Tensorflow managed through Poetry environment --- tensorflow-poetry.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 tensorflow-poetry.nix diff --git a/tensorflow-poetry.nix b/tensorflow-poetry.nix new file mode 100644 index 0000000..1c52b55 --- /dev/null +++ b/tensorflow-poetry.nix @@ -0,0 +1,11 @@ +{ pkgs ? import { } }: + +with pkgs; + +mkShell { + buildInputs = [ python38 poetry ]; + shellHook = '' + export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH + unset SOURCE_DATE_EPOCH + ''; +}