-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo-watch
build failure on aarch64-darwin
#146349
Comments
Installing via |
CoreFoundation and Foundation need to be added to the buildInputs |
Foundation is already in buildInputs . I just tried adding CoreFoundation as well but that didn't seem to make any difference.
|
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/cant-build-tauri-app-on-macos-with-rust-installed-via-nix/16895/6 |
Ran into this, too, but
Looks a lot like 78f07d0 but is also reported on |
cargo --version
cargo 1.58.0 (7f08ace4f 2021-11-24)
uname -a
Darwin macbook 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
nix-shell -p nix-info --run "nix-info -m"
- system: `"aarch64-darwin"`
- host os: `Darwin 21.2.0, macOS 12.1`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.4`
- channels(root): `"nixpkgs-22.05pre346778.1caf78f4bf5"`
- nixpkgs: `/etc/nixpkgs`
# I use flakes so the channels(root) here can be ignored I'm on nixpkgs-21.11-darwin 2c9afd35b57f22dc69803972df147b7a331ee596 Building via nix however, fails.
These files exist on my disk just not in nix: /System/Volumes/Data/private/var/folders/xj/2g_69j1504vgc597y35p3r7h00009d/C/clang/ModuleCache/34TQMRHFQU7QU/ObjectiveC-3KPV63CE69HU8.pcm
/private/var/folders/xj/2g_69j1504vgc597y35p3r7h00009d/C/clang/ModuleCache/34TQMRHFQU7QU/ObjectiveC-3KPV63CE69HU8.pcm |
In lieu of not being able to use |
@NixOS/darwin-maintainers |
Same underlying issue: #160876. |
Issue opened for a possible root cause: #163052 |
Is there any progress on this issue or any known workarounds? |
@schickling, @tjni is still chipping away at #163052, latest findings in #185569. |
Fix for this is now in |
🎉 |
Describe the bug
The
cargo-watch
package fails to build on aarch64-darwin. This appears to be related to a failure running the build script for the crate mac-notification-sys.Steps To Reproduce
Steps to reproduce the behavior:
cargo-watch
on aarch64-darwin.Expected behavior
The package to build.
Screenshots
n/a
Additional context
See https://gist.github.com/samuela/64da4e242830cd92054121030828a691 for the complete build log.
Notify maintainers
@xrelkd @ivan
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: