diff options
author | Russell O'Connor <roconnor@theorem.ca> | 2010-10-31 04:08:14 +0000 |
---|---|---|
committer | Russell O'Connor <roconnor@theorem.ca> | 2010-10-31 04:08:14 +0000 |
commit | 497a1476ae5756bac5453c81f3b3dc13b966f238 (patch) | |
tree | 79568614572134f910311292ed7e5ca29fd0c452 /pkgs/games/dwarf-fortress | |
parent | 5c2974a0afa0b0185de61cf14f31306634533b7e (diff) | |
download | nixlib-497a1476ae5756bac5453c81f3b3dc13b966f238.tar nixlib-497a1476ae5756bac5453c81f3b3dc13b966f238.tar.gz nixlib-497a1476ae5756bac5453c81f3b3dc13b966f238.tar.bz2 nixlib-497a1476ae5756bac5453c81f3b3dc13b966f238.tar.lz nixlib-497a1476ae5756bac5453c81f3b3dc13b966f238.tar.xz nixlib-497a1476ae5756bac5453c81f3b3dc13b966f238.tar.zst nixlib-497a1476ae5756bac5453c81f3b3dc13b966f238.zip |
Dwarf Fortress files in dipscript are again opened in read-write mode and need to be hacked around.
It's almost tempting to copy the whole data dirctory and put every file in read-write mode. svn path=/nixpkgs/trunk/; revision=24550
Diffstat (limited to 'pkgs/games/dwarf-fortress')
-rw-r--r-- | pkgs/games/dwarf-fortress/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/games/dwarf-fortress/default.nix b/pkgs/games/dwarf-fortress/default.nix index 20dcd7ad249d..b08a70a39821 100644 --- a/pkgs/games/dwarf-fortress/default.nix +++ b/pkgs/games/dwarf-fortress/default.nix @@ -51,9 +51,10 @@ stdenv.mkDerivation rec { ln -s \$i \$DF_DIR/data/ done - # index initial_movies, announcement, and help files are as of 0.31.16 opened in read/write mode instead of read-only mode + # index initial_movies, announcement, dipscript and help files are as of 0.31.16 opened in read/write mode instead of read-only mode # this is a hack to work around this - for i in index initial_movies announcement help + # Should I just apply this to the whole data directory? + for i in index initial_movies announcement dipscript help do rm \$DF_DIR/data/\$i cp -rf $out/share/df_linux/data/\$i \$DF_DIR/data/ |