diff options
author | Tim Steinbach <NeQuissimus@users.noreply.github.com> | 2017-11-04 10:52:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-04 10:52:06 -0400 |
commit | b7fe5577e545318c765463490fefa516423a4efa (patch) | |
tree | 537ce3811fdb8842387df5a7a1af07a3f18ca110 | |
parent | 2452bd2e80505552fc8a87a1edcdb3f82303f909 (diff) | |
parent | 9e59605bab906f7d65c416e3e4646ba99cc553d8 (diff) | |
download | nixlib-b7fe5577e545318c765463490fefa516423a4efa.tar nixlib-b7fe5577e545318c765463490fefa516423a4efa.tar.gz nixlib-b7fe5577e545318c765463490fefa516423a4efa.tar.bz2 nixlib-b7fe5577e545318c765463490fefa516423a4efa.tar.lz nixlib-b7fe5577e545318c765463490fefa516423a4efa.tar.xz nixlib-b7fe5577e545318c765463490fefa516423a4efa.tar.zst nixlib-b7fe5577e545318c765463490fefa516423a4efa.zip |
Merge pull request #31245 from pbogdan/openrct2-fix-build
openrct2: fix build
-rw-r--r-- | pkgs/games/openrct2/default.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/games/openrct2/default.nix b/pkgs/games/openrct2/default.nix index a54d3a45ae81..6881767cbb90 100644 --- a/pkgs/games/openrct2/default.nix +++ b/pkgs/games/openrct2/default.nix @@ -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 = [ |