diff options
author | Ivan Babrou <github@ivan.computer> | 2021-02-17 00:08:56 -0800 |
---|---|---|
committer | Ivan Babrou <github@ivan.computer> | 2021-02-17 00:08:56 -0800 |
commit | a9e51112e8d45d241158c4485a55b91fc5d43b98 (patch) | |
tree | de460f0ac8023958bfdb7a07f58c74d324e78eb9 /pkgs/development/libraries/boringssl | |
parent | 931260043e63ad0b17370e7d60db1c3a941be549 (diff) |
boringssl: fix aarch64-linux build
Diffstat (limited to 'pkgs/development/libraries/boringssl')
-rw-r--r-- | pkgs/development/libraries/boringssl/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/boringssl/default.nix b/pkgs/development/libraries/boringssl/default.nix index 7019d39b16c73..aa3eeef48a555 100644 --- a/pkgs/development/libraries/boringssl/default.nix +++ b/pkgs/development/libraries/boringssl/default.nix @@ -15,6 +15,9 @@ stdenv.mkDerivation { makeFlags = [ "GOCACHE=$(TMPDIR)/go-cache" ]; + # CMAKE_OSX_ARCHITECTURES is set to x86_64 by Nix, but it confuses boringssl on aarch64-linux. + cmakeFlags = lib.optionals (stdenv.isLinux) [ "-DCMAKE_OSX_ARCHITECTURES=" ]; + installPhase = '' mkdir -p $bin/bin $out/include $out/lib |