summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmbroz Bizjak <ambrop7@gmail.com>2016-04-17 20:58:44 +0200
committerAmbroz Bizjak <ambrop7@gmail.com>2016-04-17 20:59:46 +0200
commitd7eadb19fb53123a46eee45b378ffb9ce5f7d954 (patch)
tree1017bb1bfea8dc1b0ca619302d6c133ae4c507f3
parentce47fb38d8206c5c1674baf9ed048a5660186c24 (diff)
downloadnixlib-d7eadb19fb53123a46eee45b378ffb9ce5f7d954.tar
nixlib-d7eadb19fb53123a46eee45b378ffb9ce5f7d954.tar.gz
nixlib-d7eadb19fb53123a46eee45b378ffb9ce5f7d954.tar.bz2
nixlib-d7eadb19fb53123a46eee45b378ffb9ce5f7d954.tar.lz
nixlib-d7eadb19fb53123a46eee45b378ffb9ce5f7d954.tar.xz
nixlib-d7eadb19fb53123a46eee45b378ffb9ce5f7d954.tar.zst
nixlib-d7eadb19fb53123a46eee45b378ffb9ce5f7d954.zip
wine: Disable stripping to avoid breaking fakedlls.
-rw-r--r--pkgs/misc/emulators/wine/base.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/wine/base.nix b/pkgs/misc/emulators/wine/base.nix
index 2af403c4deaf..804eb0bb304c 100644
--- a/pkgs/misc/emulators/wine/base.nix
+++ b/pkgs/misc/emulators/wine/base.nix
@@ -41,6 +41,13 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
   # elements specified above.
   dontPatchELF = true;
 
+  # Disable stripping to avoid breaking placeholder DLLs/EXEs.
+  # Symptoms of broken placeholders are: when the wineprefix is created
+  # drive_c/windows/system32 will only contain a few files instead of
+  # hundreds, there will be an error about winemenubuilder and MountMgr
+  # on startup of Wine, and the Drives tab in winecfg will show an error.
+  dontStrip = true;
+
   ## FIXME
   # Add capability to ignore known failing tests
   # and enable doCheck