about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-tensorflow.nix
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2018-09-06 08:49:17 +0200
committerBas van Dijk <v.dijk.bas@gmail.com>2018-09-06 09:15:56 +0200
commita5f08c17e5034ad00c170e1599d19f6d77aa19ca (patch)
tree29f02fc145a97f6236b9c74274b5c6c2f02f853c /pkgs/development/haskell-modules/configuration-tensorflow.nix
parent641025d410ec7212996ba9d7cea4d12ce8218886 (diff)
haskellPackages.tensorflow-mnist: fix missing dependency on tensorflow-mnist-input-data
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-tensorflow.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-tensorflow.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-tensorflow.nix b/pkgs/development/haskell-modules/configuration-tensorflow.nix
index dedcaf0cbc764..43a3b82923baf 100644
--- a/pkgs/development/haskell-modules/configuration-tensorflow.nix
+++ b/pkgs/development/haskell-modules/configuration-tensorflow.nix
@@ -55,9 +55,11 @@ in
   tensorflow-logging = super.tensorflow-logging.override {
     inherit proto-lens;
   };
-  tensorflow-mnist = super.tensorflow-mnist.override {
+  tensorflow-mnist = overrideCabal (super.tensorflow-mnist.override {
     inherit proto-lens;
-  };
+    # https://github.com/tensorflow/haskell/issues/215
+    tensorflow-mnist-input-data = self.tensorflow-mnist-input-data;
+  }) (_drv: { broken = false; });
   tensorflow-mnist-input-data = setSourceRoot "tensorflow-mnist-input-data" (super.callPackage (
     { mkDerivation, base, bytestring, Cabal, cryptonite, directory
     , filepath, HTTP, network-uri, stdenv