mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
openrct2: fix build
This commit is contained in:
parent
5e563ae749
commit
9e59605bab
@ -24,8 +24,7 @@ in
|
||||
stdenv.mkDerivation rec {
|
||||
inherit name;
|
||||
|
||||
srcs = [ openrct2-src title-sequences-src ];
|
||||
sourceRoot = ".";
|
||||
src = openrct2-src;
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
@ -46,11 +45,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
postUnpack = ''
|
||||
cp -r ${openrct2-src}/* ${sourceRoot}
|
||||
cp -r ${title-sequences-src} ${sourceRoot}/title
|
||||
|
||||
# creating temporary files in fixCmakeFiles fails otherwise
|
||||
chmod -R u+w ${sourceRoot}
|
||||
cp -r ${title-sequences-src} $sourceRoot/title
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
|
Loading…
Reference in New Issue
Block a user