erlang: add missing AGL framework for aarch64-darwin

Preventing this:

```
 LD     ../priv/aarch64-apple-darwin20.3.0/wxe_driver.so
ld: file not found: /System/Library/Frameworks/AGL.framework/Versions/A/AGL for architecture arm64
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [Makefile:176: ../priv/aarch64-apple-darwin20.3.0/wxe_driver.so] Error 1
```
wip/yesman
Ivan Babrou 3 years ago committed by github-actions[bot]
parent 7993fc70af
commit a026ea9856
  1. 2
      pkgs/development/interpreters/erlang/generic-builder.nix

@ -57,7 +57,7 @@ in stdenv.mkDerivation ({
++ optionals odbcSupport odbcPackages
++ optionals javacSupport javacPackages
++ optional withSystemd systemd
++ optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ Carbon Cocoa ]);
++ optionals stdenv.isDarwin (with pkgs.darwin.apple_sdk.frameworks; [ AGL Carbon Cocoa ]);
debugInfo = enableDebugInfo;

Loading…
Cancel
Save