about summary refs log tree commit diff
path: root/pkgs/games/openrct2
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/openrct2')
-rw-r--r--pkgs/games/openrct2/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/games/openrct2/default.nix b/pkgs/games/openrct2/default.nix
index a54d3a45ae817..6881767cbb904 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 = [