diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2022-10-06 23:26:24 +0200 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2022-12-01 16:35:59 +0100 |
commit | b2996de2a7af35ed8e263acc3f5ef4f3e48f75a7 (patch) | |
tree | 8a7a15197b7ed89a72845e483b9c5698060e12e1 /pkgs/games/blobby | |
parent | 9f6a1541c74b9b1f6a0700f638b5287f2f27771b (diff) |
blobby: repair
Diffstat (limited to 'pkgs/games/blobby')
-rw-r--r-- | pkgs/games/blobby/blobby.sh | 2 | ||||
-rw-r--r-- | pkgs/games/blobby/default.nix | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/games/blobby/blobby.sh b/pkgs/games/blobby/blobby.sh index 4c4b32b12433..3171c5a80b1b 100644 --- a/pkgs/games/blobby/blobby.sh +++ b/pkgs/games/blobby/blobby.sh @@ -7,4 +7,4 @@ test -d ~/.blobby || { ( cd ~/.blobby; for i in *.zip; do @unzip@/bin/unzip "$i"; done ) } -@out@/bin/blobby.bin +exec @out@/bin/blobby.bin "$@" diff --git a/pkgs/games/blobby/default.nix b/pkgs/games/blobby/default.nix index 9dad0b84d1e3..68e18dfe26dd 100644 --- a/pkgs/games/blobby/default.nix +++ b/pkgs/games/blobby/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, pkg-config }: +{ lib, stdenv, fetchurl, SDL2, SDL2_image, libGLU, libGL, cmake, physfs, boost, zip, zlib, unzip, pkg-config }: stdenv.mkDerivation rec { pname = "blobby-volley"; @@ -16,6 +16,8 @@ stdenv.mkDerivation rec { sed -e '1i#include <iostream>' -i src/NetworkMessage.cpp ''; + inherit unzip; + postInstall = '' cp ../data/Icon.bmp "$out/share/blobby/" mv "$out/bin"/blobby{,.bin} @@ -28,7 +30,8 @@ stdenv.mkDerivation rec { license = licenses.bsd3; platforms = platforms.linux; maintainers = with maintainers; [ raskin ]; - homepage = "http://blobby.sourceforge.net/"; + homepage = "https://blobbyvolley.de/"; downloadPage = "https://sourceforge.net/projects/blobby/files/Blobby%20Volley%202%20%28Linux%29/"; + mainProgram = "blobby"; }; } |