File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
pkgs/development/haskell-modules Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -323,6 +323,18 @@ self: super:
323323 '';
324324 }) super.di-core;
325325
326+ # Template Haskell on Darwin fails to load an available symbol in these
327+ # transitive dependencies since GHC 9.10.3.
328+ # See issue https://github.com/NixOS/nixpkgs/issues/461651
329+ hercules-ci-agent = overrideCabal (old: {
330+ preBuild = ''
331+ DYLD_INSERT_LIBRARIES="''${DYLD_INSERT_LIBRARIES:+$DYLD_INSERT_LIBRARIES:}$(pkg-config --variable=libdir nix-store)/libnixstore.dylib:$(pkg-config --variable=libdir nix-util)/libnixutil.dylib"
332+ export DYLD_INSERT_LIBRARIES
333+ echo "DYLD_INSERT_LIBRARIES=$DYLD_INSERT_LIBRARIES"
334+ ''
335+ + (old.preBuild or "");
336+ }) super.hercules-ci-agent;
337+
326338 # Require /usr/bin/security which breaks sandbox
327339 http-reverse-proxy = dontCheck super.http-reverse-proxy;
328340 servant-auth-server = dontCheck super.servant-auth-server;
You can’t perform that action at this time.
0 commit comments