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
+1 -1
View File
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
Download the TWS from
https://download2.interactivebrokers.com/download/unixmacosx_latest.jar,
rename the file to ${name}, and add it to the nix store with
"nix-prefetch-url file://${name}".
"nix-prefetch-url file://\$PWD/${name}".
'';
sha256 = "1a2jiwwnr5g3xfba1a89c257bdbnq4zglri8hz021vk7f6s4rlrf";
};