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:
@@ -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}
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user