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-03 03:53:52 -05:00
committed by obadz
parent 3a094f473a
commit 6f073154da
8 changed files with 11 additions and 11 deletions

View File

@@ -28,7 +28,7 @@ let
This nix expression requires that ${args.name} is already part of the store.
Register yourself to NVIDIA Accelerated Computing Developer Program, retrieve the CUDA toolkit
at https://developer.nvidia.com/cuda-toolkit, and run the following command in the download directory:
nix-prefetch-url file://${args.name}
nix-prefetch-url file://\$PWD/${args.name}
'';
inherit (args) name sha256;
}