diff options
author | Anders Kaseorg <andersk@mit.edu> | 2018-03-03 03:53:52 -0500 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2018-03-04 17:28:36 +0000 |
commit | 6f073154da086d48d4a3e46a4f5d54698d85ed94 (patch) | |
tree | abc49f727268b9a9a9fa436f3cd08c6e01b6b3f7 /pkgs/applications/office | |
parent | 3a094f473aa76937480d563e53886c395fcb1eef (diff) | |
download | nixlib-6f073154da086d48d4a3e46a4f5d54698d85ed94.tar nixlib-6f073154da086d48d4a3e46a4f5d54698d85ed94.tar.gz nixlib-6f073154da086d48d4a3e46a4f5d54698d85ed94.tar.bz2 nixlib-6f073154da086d48d4a3e46a4f5d54698d85ed94.tar.lz nixlib-6f073154da086d48d4a3e46a4f5d54698d85ed94.tar.xz nixlib-6f073154da086d48d4a3e46a4f5d54698d85ed94.tar.zst nixlib-6f073154da086d48d4a3e46a4f5d54698d85ed94.zip |
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>
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r-- | pkgs/applications/office/ib/tws/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/office/ib/tws/default.nix b/pkgs/applications/office/ib/tws/default.nix index b8844391c7d9..59ecb5a5c3b7 100644 --- a/pkgs/applications/office/ib/tws/default.nix +++ b/pkgs/applications/office/ib/tws/default.nix @@ -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"; }; |