ghc8102Binary: add numactl to libPath on aarch64
Fixes: utils/ghc-cabal/dist-install/build/tmp/ghc-cabal: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory
This commit is contained in:
parent
740f01413b
commit
b9377e0950
@ -1,6 +1,6 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, fetchurl, perl, gcc
|
, fetchurl, perl, gcc
|
||||||
, ncurses6, gmp, glibc, libiconv
|
, ncurses6, gmp, glibc, libiconv, numactl
|
||||||
, llvmPackages
|
, llvmPackages
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
@ -13,7 +13,8 @@ let
|
|||||||
|
|
||||||
libPath = stdenv.lib.makeLibraryPath ([
|
libPath = stdenv.lib.makeLibraryPath ([
|
||||||
ncurses6 gmp
|
ncurses6 gmp
|
||||||
] ++ stdenv.lib.optional (stdenv.hostPlatform.isDarwin) libiconv);
|
] ++ stdenv.lib.optional (stdenv.hostPlatform.isDarwin) libiconv
|
||||||
|
++ stdenv.lib.optional (stdenv.hostPlatform.isAarch64) numactl);
|
||||||
|
|
||||||
libEnvVar = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin "DY"
|
libEnvVar = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin "DY"
|
||||||
+ "LD_LIBRARY_PATH";
|
+ "LD_LIBRARY_PATH";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user