summary refs log tree commit diff
path: root/pkgs/games
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-02 18:09:58 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-02-02 18:09:58 +0000
commit90962dc4cbcc32000b273b135390092fc4c13430 (patch)
tree234805cae7ee2b3754f0f9288483d106c25371dd /pkgs/games
parenta066167a9e5fde279ef30d29dbe56fa757c3199c (diff)
downloadnixpkgs-90962dc4cbcc32000b273b135390092fc4c13430.tar
nixpkgs-90962dc4cbcc32000b273b135390092fc4c13430.tar.gz
nixpkgs-90962dc4cbcc32000b273b135390092fc4c13430.tar.bz2
nixpkgs-90962dc4cbcc32000b273b135390092fc4c13430.tar.lz
nixpkgs-90962dc4cbcc32000b273b135390092fc4c13430.tar.xz
nixpkgs-90962dc4cbcc32000b273b135390092fc4c13430.tar.zst
nixpkgs-90962dc4cbcc32000b273b135390092fc4c13430.zip
Making teeworlds executables accept parameters (to configure a teeworlds server for example)
svn path=/nixpkgs/trunk/; revision=19768
Diffstat (limited to 'pkgs/games')
-rw-r--r--pkgs/games/teeworlds/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/teeworlds/default.nix b/pkgs/games/teeworlds/default.nix
index aab99fc4850..1185b663a02 100644
--- a/pkgs/games/teeworlds/default.nix
+++ b/pkgs/games/teeworlds/default.nix
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
       mv -v "$out/bin/$program" "$out/bin/.wrapped-$program"
       cat > "$out/bin/$program" <<EOF
 #!/bin/sh
-cd "$out/share/${name}" && exec "$out/bin/.wrapped-$program"
+cd "$out/share/${name}" && exec "$out/bin/.wrapped-$program" "\$@"
 EOF
       chmod -v +x "$out/bin/$program"
     done