Add Tensorflow workarounds to shell.nix

This commit is contained in:
coolneng 2021-05-06 00:12:24 +02:00
parent fba5578adc
commit 223bf16a8a
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 7 additions and 1 deletions

View File

@ -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
'';
}