haskell.compiler.ghc8102Binary: find -executable -> -perm -0100

This commit is contained in:
Niklas Hambüchen 2021-07-04 21:42:15 +00:00
parent da1cf8cb90
commit c866b8a13b

View File

@ -229,7 +229,7 @@ stdenv.mkDerivation rec {
'' +
# Rename needed libraries and binaries, fix interpreter
lib.optionalString stdenv.isLinux ''
find . -type f -perm -0100 -exec patchelf \
find . -type f -executable -exec patchelf \
--interpreter ${stdenv.cc.bintools.dynamicLinker} {} \;
'';