summary refs log tree commit diff
path: root/pkgs/games/worldofgoo/default.nix
diff options
context:
space:
mode:
authorAnders Kaseorg <andersk@mit.edu>2018-03-03 03:53:52 -0500
committerobadz <obadz-git@obadz.com>2018-03-04 17:28:36 +0000
commit6f073154da086d48d4a3e46a4f5d54698d85ed94 (patch)
treeabc49f727268b9a9a9fa436f3cd08c6e01b6b3f7 /pkgs/games/worldofgoo/default.nix
parent3a094f473aa76937480d563e53886c395fcb1eef (diff)
downloadnixlib-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/games/worldofgoo/default.nix')
-rw-r--r--pkgs/games/worldofgoo/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/worldofgoo/default.nix b/pkgs/games/worldofgoo/default.nix
index ba887d91de19..3b4fbedb93ad 100644
--- a/pkgs/games/worldofgoo/default.nix
+++ b/pkgs/games/worldofgoo/default.nix
@@ -15,16 +15,16 @@ stdenv.mkDerivation rec {
   goBuyItNow = '' 
     We cannot download the full version automatically, as you require a license.
     Once you bought a license, you need to add your downloaded version to the nix store.
-    You can do this by using "nix-prefetch-url file://WorldOfGooSetup.1.41.tar.gz" in the
+    You can do this by using "nix-prefetch-url file://\$PWD/WorldOfGooSetup.1.41.tar.gz" in the
     directory where you saved it.
 
     Or you can install the demo version: 'nix-env -i -A pkgs.worldofgoo_demo'. 
   ''; 
 
   getTheDemo = ''
-    We cannot download the demo version automatically, please go to
+    We cannot download the demo version automatically. Please go to
     http://worldofgoo.com/dl2.php?lk=demo, then add it to your nix store.
-    You can do this by using "nix-prefetch-url file://WorldOfGooDemo.1.41.tar.gz" in the
+    You can do this by using "nix-prefetch-url file://\$PWD/WorldOfGooDemo.1.41.tar.gz" in the
     directory where you saved it.
   '';