Closed kyleconroy closed 1 month ago
I've tried directly adding CoreFoundation (via https://github.com/cachix/devenv/issues/508), but it didn't fix anything.
# https://devenv.sh/packages/
packages = [
pkgs.bazelisk
pkgs.git
]
++ # array concatenation operator
lib.optionals pkgs.stdenv.isDarwin (with pkgs.darwin.apple_sdk; [
frameworks.CoreFoundation
frameworks.Security
frameworks.SystemConfiguration
]);
I'm not familiar with Bazel, could we somehow reproduce the issue without bazel? That would narrow it down and allow me to help.
It appears the issue is with Bazel itself. Downgrading to Bazel 6.5.0 fixes the issue. Upgrading back to Bazel 7.0.1 causes the issue to reappear.
After reading through the Bazel release notes, I've found https://github.com/bazelbuild/rules_go/issues/3793 which seems like the issue. I'll reopen this if it turns out devenv needs to change something.
Describe the bug
I can no longer build my Go project using Bazel after upgrading to devenv 1.0.
While I've pushed a repository with a full reproduction, I realize there are still many moving pieces. This could be an issue with Devenv, Nix, Bazel, or rules_go. I'm having a difficult time figuring out where the issue lies, so I thought I'd start here.
To reproduce
Outside the devenv shell, this runs successfully
Once I've activated the shell, it fails.
Version
I'm running macOS 13.6.6 and devenv 1.0.2.