Merge pull request #98870 from sorki/hask/ghc8102Binary-numactl

ghc8102Binary: add numactl to libPath on aarch64
This commit is contained in:
Peter Simons 2020-09-26 19:09:46 +02:00 committed by GitHub
commit db06536e15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv
, fetchurl, perl, gcc
, ncurses6, gmp, glibc, libiconv
, ncurses6, gmp, glibc, libiconv, numactl
, llvmPackages
, ...
}:
@ -13,7 +13,8 @@ let
libPath = stdenv.lib.makeLibraryPath ([
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"
+ "LD_LIBRARY_PATH";