From 223bf16a8aa48a4d5a8f021b9914be7462211079 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 6 May 2021 00:12:24 +0200 Subject: [PATCH] Add Tensorflow workarounds to shell.nix --- shell.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index ceb2d7a..c94ca29 100644 --- a/shell.nix +++ b/shell.nix @@ -2,4 +2,10 @@ with pkgs; -mkShell { buildInputs = [ python38 poetry ]; } +mkShell { + buildInputs = [ python38 poetry ]; + shellHook = '' + export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH + unset SOURCE_DATE_EPOCH + ''; +}