python3.pkgs.tensorflow: fix evaluation when generating nix dependency graph
This commit is contained in:
parent
fd613a8597
commit
b6d9b11bf0
@ -57,7 +57,7 @@ in buildPythonPackage {
|
||||
platform = if stdenv.isDarwin then "mac" else "linux";
|
||||
unit = if cudaSupport then "gpu" else "cpu";
|
||||
key = "${platform}_py_${pyVerNoDot}_${unit}";
|
||||
in fetchurl packages.${key};
|
||||
in fetchurl (packages.${key} or {});
|
||||
|
||||
propagatedBuildInputs = [
|
||||
astunparse
|
||||
|
Loading…
Reference in New Issue
Block a user