about summary refs log tree commit diff
path: root/pkgs/games/classicube
diff options
context:
space:
mode:
author360ied <19516527+360ied@users.noreply.github.com>2022-10-10 18:56:30 -0400
committer360ied <19516527+360ied@users.noreply.github.com>2022-10-11 10:48:39 -0400
commit3f525e0de4fa7eda30e7ef22759faf3c4885a173 (patch)
tree29188f20234b11346c8a3afa07c4745d4221c3ef /pkgs/games/classicube
parent4cdda329f06f21f61b8bee4df9d5cf9f8efdcb77 (diff)
classicube: 1.3.2 -> 1.3.3
Diffstat (limited to 'pkgs/games/classicube')
-rw-r--r--pkgs/games/classicube/default.nix6
-rw-r--r--pkgs/games/classicube/font-location.patch4
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/classicube/default.nix b/pkgs/games/classicube/default.nix
index b2b2ee68ff09e..84ce22a51a01b 100644
--- a/pkgs/games/classicube/default.nix
+++ b/pkgs/games/classicube/default.nix
@@ -12,13 +12,13 @@
 
 stdenv.mkDerivation rec {
   pname = "ClassiCube";
-  version = "1.3.2";
+  version = "1.3.3";
 
   src = fetchFromGitHub {
     owner = "UnknownShadow200";
     repo = "ClassiCube";
     rev = version;
-    sha256 = "6a0f7b03ef3a7f74cf42ffa5b88ab1a7b7beb4d864871a1b700465343ae74bb6";
+    sha256 = "a31e95a7f49e58aaf4271015dd60730fc74d9776dfac425a8f14eb64cdcd9944";
   };
 
   nativeBuildInputs = [ dos2unix makeWrapper ];
@@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
     # in ~/.local/share instead.
     wrapProgram "$out/bin/ClassiCube" \
       --run 'mkdir -p "$HOME/.local/share/ClassiCube"' \
-      --add-flags '-d"$HOME/.local/share/ClassiCube"'
+      --run 'cd       "$HOME/.local/share/ClassiCube"'
   '';
 
   meta = with lib; {
diff --git a/pkgs/games/classicube/font-location.patch b/pkgs/games/classicube/font-location.patch
index 48428a8bb94fb..bb7d383236f5f 100644
--- a/pkgs/games/classicube/font-location.patch
+++ b/pkgs/games/classicube/font-location.patch
@@ -6,10 +6,10 @@ index bca992d..3540afa 100644
  		String_FromConst("/Library/Fonts")
  	};
  #else
--	static const cc_string dirs[2] = {
+-	static const cc_string dirs[] = {
 -		String_FromConst("/usr/share/fonts"),
 -		String_FromConst("/usr/local/share/fonts")
-+	static const cc_string dirs[1] = {
++	static const cc_string dirs[] = {
 +		String_FromConst("%NIXPKGS_FONT_PATH%")
  	};
  #endif