mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #31245 from pbogdan/openrct2-fix-build
openrct2: fix build
This commit is contained in:
commit
b7fe5577e5
1 changed files with 2 additions and 7 deletions
|
@ -24,8 +24,7 @@ in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
inherit name;
|
inherit name;
|
||||||
|
|
||||||
srcs = [ openrct2-src title-sequences-src ];
|
src = openrct2-src;
|
||||||
sourceRoot = ".";
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
SDL2
|
SDL2
|
||||||
|
@ -46,11 +45,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
cp -r ${openrct2-src}/* ${sourceRoot}
|
cp -r ${title-sequences-src} $sourceRoot/title
|
||||||
cp -r ${title-sequences-src} ${sourceRoot}/title
|
|
||||||
|
|
||||||
# creating temporary files in fixCmakeFiles fails otherwise
|
|
||||||
chmod -R u+w ${sourceRoot}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
|
|
Loading…
Reference in a new issue