Add Tensorflow managed through Poetry environment

This commit is contained in:
2021-05-06 00:09:40 +02:00
parent 461e91514e
commit 2246189635

11
tensorflow-poetry.nix Normal file
View File

@@ -0,0 +1,11 @@
{ pkgs ? import <nixpkgs> { } }:
with pkgs;
mkShell {
buildInputs = [ python38 poetry ];
shellHook = ''
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH
unset SOURCE_DATE_EPOCH
'';
}