Give working advice for running nix-prefetch-url

nix-prefetch-url file://… requires a full path.  Suggest an invocation
that will provide one.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2018-03-04 17:28:36 +00:00
committed by obadz
parent 3a094f473a
commit 6f073154da
8 changed files with 11 additions and 11 deletions
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
This nix expression requires that ${name} is already part of the store.
Register yourself to NVIDIA Accelerated Computing Developer Program, retrieve the cuDNN library
at https://developer.nvidia.com/cudnn, and run the following command in the download directory:
nix-prefetch-url file://${name}
nix-prefetch-url file://\$PWD/${name}
'';
};
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
This nix expression requires that ${name} is already part of the store.
Register yourself to NVIDIA Accelerated Computing Developer Program, retrieve the NCCL library
at https://developer.nvidia.com/nccl, and run the following command in the download directory:
nix-prefetch-url file://${name}
nix-prefetch-url file://\$PWD/${name}
'';
};