haskellPackages.tensorflow-mnist-input-data: link data files instead of copying
This prevents duplication in the nix store.
This commit is contained in:
parent
6bd8799448
commit
641025d410
|
@ -86,7 +86,7 @@ in
|
|||
network-uri
|
||||
];
|
||||
preConfigure = pkgs.lib.strings.concatStringsSep "\n" (
|
||||
map (x: "cp ${x} data/$(stripHash ${x})") downloads
|
||||
map (x: "ln -s ${x} data/$(stripHash ${x})") downloads
|
||||
);
|
||||
libraryHaskellDepends = [ base ];
|
||||
homepage = "https://github.com/tensorflow/haskell#readme";
|
||||
|
|
Loading…
Reference in a new issue