forked from mirrors/nixpkgs
Merge pull request #195536 from 360ied/classicube-1.3.3
classicube: 1.3.2 -> 1.3.3
This commit is contained in:
commit
fc0c0a17ca
|
@ -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; {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue