diff --git a/pkgs/games/classicube/default.nix b/pkgs/games/classicube/default.nix index b2b2ee68ff09..84ce22a51a01 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 48428a8bb94f..bb7d383236f5 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