mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
fallout-ce: Fix broken game load/save due to case sensitive filesystem (#309275)
This commit is contained in:
commit
e74612b044
@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
, extraBuildInputs ? [ ]
|
, extraBuildInputs ? [ ]
|
||||||
, extraMeta
|
, extraMeta
|
||||||
|
, patches
|
||||||
, pname
|
, pname
|
||||||
, version
|
, version
|
||||||
, src
|
, src
|
||||||
@ -45,7 +46,7 @@ let
|
|||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit pname version src;
|
inherit pname version src patches;
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ SDL2 ] ++ extraBuildInputs;
|
buildInputs = [ SDL2 ] ++ extraBuildInputs;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{ callPackage
|
{ callPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch2
|
||||||
}:
|
}:
|
||||||
|
|
||||||
callPackage ./build.nix rec {
|
callPackage ./build.nix rec {
|
||||||
@ -13,6 +14,14 @@ callPackage ./build.nix rec {
|
|||||||
hash = "sha256-ZiBoF3SL00sN0QrD3fkWG9SAknumOvzRB1oQJff6ITA=";
|
hash = "sha256-ZiBoF3SL00sN0QrD3fkWG9SAknumOvzRB1oQJff6ITA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix case-sensitive filesystems issue when save/load games
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/alexbatalov/fallout1-ce/commit/aa3c5c1e3e3f9642d536406b2d8d6b362c9e402f.patch";
|
||||||
|
sha256 = "sha256-quFRbKMS2pNDCNTWc1ZoB3jnB5qzw0b+2OeJUi8IPBc=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
description = "Fully working re-implementation of Fallout, with the same original gameplay, engine bugfixes, and some quality of life improvements";
|
description = "Fully working re-implementation of Fallout, with the same original gameplay, engine bugfixes, and some quality of life improvements";
|
||||||
homepage = "https://github.com/alexbatalov/fallout1-ce";
|
homepage = "https://github.com/alexbatalov/fallout1-ce";
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{ callPackage
|
{ callPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchpatch2
|
||||||
, zlib
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -14,6 +15,14 @@ callPackage ./build.nix rec {
|
|||||||
hash = "sha256-r1pnmyuo3uw2R0x9vGScSHIVNA6t+txxABzgHkUEY5U=";
|
hash = "sha256-r1pnmyuo3uw2R0x9vGScSHIVNA6t+txxABzgHkUEY5U=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix case-sensitive filesystems issue when save/load games
|
||||||
|
(fetchpatch2 {
|
||||||
|
url = "https://github.com/alexbatalov/fallout2-ce/commit/d843a662b3ceaf01ac363e9abb4bfceb8b805c36.patch";
|
||||||
|
sha256 = "sha256-u4E9+DE6sGYikIGwKDmSBj3ErCfIo6YzIw2eMiqXw/E=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
extraBuildInputs = [ zlib ];
|
extraBuildInputs = [ zlib ];
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user