summary refs log tree commit diff
path: root/pkgs/misc/emulators/wine
diff options
context:
space:
mode:
authorCorey O'Connor <coreyoconnor@gmail.com>2018-03-14 21:00:31 -0700
committerCorey O'Connor <coreyoconnor@gmail.com>2018-03-14 21:10:12 -0700
commit7f112e37d16c9cb67ec5fde43d18b377dc78e005 (patch)
tree23a642a79138ddd986b75d49877208567c4ba7c1 /pkgs/misc/emulators/wine
parent9b044a1dba64f08762157f131aed18684602ff01 (diff)
downloadnixlib-7f112e37d16c9cb67ec5fde43d18b377dc78e005.tar
nixlib-7f112e37d16c9cb67ec5fde43d18b377dc78e005.tar.gz
nixlib-7f112e37d16c9cb67ec5fde43d18b377dc78e005.tar.bz2
nixlib-7f112e37d16c9cb67ec5fde43d18b377dc78e005.tar.lz
nixlib-7f112e37d16c9cb67ec5fde43d18b377dc78e005.tar.xz
nixlib-7f112e37d16c9cb67ec5fde43d18b377dc78e005.tar.zst
nixlib-7f112e37d16c9cb67ec5fde43d18b377dc78e005.zip
wine: correct install order for WoW wine build.
Per the wiki at https://wiki.winehq.org/Building_Wine#Shared_WoW64

"if you do choose to install your WoW64 build, you should run make
install in the 32-bit build tree first, then in the 64-bit one."

This is required, for instance, for the resulting "wineserver"
executable to be the 64 bit variant not 32 bit. Which is expected by the
binary loader for WoW64.

This odd dependency is vaguely mentioned on the packaging wiki page:

* https://wiki.winehq.org/Packaging#Binaries
Diffstat (limited to 'pkgs/misc/emulators/wine')
-rw-r--r--pkgs/misc/emulators/wine/builder-wow.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/misc/emulators/wine/builder-wow.sh b/pkgs/misc/emulators/wine/builder-wow.sh
index cf6cc59a6dac..1aad9fe20c78 100644
--- a/pkgs/misc/emulators/wine/builder-wow.sh
+++ b/pkgs/misc/emulators/wine/builder-wow.sh
@@ -26,7 +26,7 @@ buildPhase
 # checkPhase
 
 eval "$preInstall"
-cd $TMP/wine64 && make install
 cd $TMP/wine-wow && make install
+cd $TMP/wine64 && make install
 eval "$postInstall"
 fixupPhase