Merge pull request #172803 from squalus/boringssl

boringssl: support cross compile
main
Sandro 2 years ago committed by GitHub
commit 57b441acfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/development/libraries/boringssl/default.nix

@ -26,6 +26,8 @@ buildGoModule {
# (if we use postConfigure then cmake will loop runHook postConfigure)
preBuild = ''
cmakeConfigurePhase
'' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
export GOARCH=$(go env GOHOSTARCH)
'';
buildPhase = ''

Loading…
Cancel
Save