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
|
network-uri
|
||||||
];
|
];
|
||||||
preConfigure = pkgs.lib.strings.concatStringsSep "\n" (
|
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 ];
|
libraryHaskellDepends = [ base ];
|
||||||
homepage = "https://github.com/tensorflow/haskell#readme";
|
homepage = "https://github.com/tensorflow/haskell#readme";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user