jetbrains: Check for 64 bit specific fsnotifier
In April, 2021, Jetbrains announced the end of support for 32-bit OS IntelliJ-based IDEs[1]: > The final major version that will be guaranteed to run on a 32-bit OS will be > v2021.1 for all IntelliJ-based IDEs, including AppCode, Clion, DataGrip, GoLand, > IntelliJ IDEA, PhpStorm, PyCharm, Rider, RubyMine, and WebStorm. [1]: https://blog.jetbrains.com/idea/2021/04/end-of-support-for-32-bit-operating-systems-in-intellij-based-ides/
This commit is contained in:
parent
544e20e24b
commit
147d36b474
|
@ -52,7 +52,7 @@ with stdenv; lib.makeOverridable mkDerivation rec {
|
|||
}
|
||||
|
||||
interpreter=$(echo ${stdenv.glibc.out}/lib/ld-linux*.so.2)
|
||||
if [ "${stdenv.hostPlatform.system}" == "x86_64-linux" ]; then
|
||||
if [[ "${stdenv.hostPlatform.system}" == "x86_64-linux" && -e bin/fsnotifier64 ]]; then
|
||||
target_size=$(get_file_size bin/fsnotifier64)
|
||||
patchelf --set-interpreter "$interpreter" bin/fsnotifier64
|
||||
munge_size_hack bin/fsnotifier64 $target_size
|
||||
|
|
Loading…
Reference in a new issue