Skip to content

Commit

Permalink
ghc8102Binary: add numactl to libPath on aarch64
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sorki committed Sep 26, 2020
1 parent 740f014 commit b9377e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/compilers/ghc/8.10.2-binary.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv
, fetchurl, perl, gcc
, ncurses6, gmp, glibc, libiconv
, ncurses6, gmp, glibc, libiconv, numactl
, llvmPackages
, ...
}:
Expand All @@ -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";
Expand Down

0 comments on commit b9377e0

Please sign in to comment.