Skip to content
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

How is it possible to compile Wezterm Darwin x86_64 #1

Closed
SolidRhino opened this issue Jun 14, 2024 · 1 comment
Closed

How is it possible to compile Wezterm Darwin x86_64 #1

SolidRhino opened this issue Jun 14, 2024 · 1 comment

Comments

@SolidRhino
Copy link

How is it possible that you can compile Wezterm with nix on Darwin x86_64? Because I get the following error if I try this:

error: builder for '/nix/store/dfzbsz80pzl2z62hwbirp74sys83080k-wezterm-20240203-110809-5046fc22.drv' failed with exit code 101;
       last 10 log lines:
       >   exit status: 0
       >   exit status: 0
       >
       >   --- stderr
       >
       >
       >   error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "/nix/store/zmfpybag2nwgyw932ahg36z8im955flp-clang-wrapper-16.0.6/bin/cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "/private/tmp/nix-build-wezterm-20240203-110809-5046fc22.drv-1/source/target/x86_64-apple-darwin/release/build/libgit2-sys-8f5d2c90ea1c9e10/out/include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-fvisibility=hidden" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" "/private/tmp/nix-build-wezterm-20240203-110809-5046fc22.drv-1/source/target/x86_64-apple-darwin/release/build/libgit2-sys-8f5d2c90ea1c9e10/out/build/libgit2/src/libgit2/streams/stransport.o" "-c" "libgit2/src/libgit2/streams/stransport.c" with args "cc" did not execute successfully (status code exit status: 1).
       >
       >
       > warning: build failed, waiting for other jobs to finish...
@reo101
Copy link
Owner

reo101 commented Jun 14, 2024

Hey, I haven't been using x86_64-darwin for ~6 months now (my company upgraded to the M-series Macs), but I still use the same wezterm home-manager module, but in reality it just uses home-manager's underlying wezterm module + a custom personal configuration. So, if you have an issue compiling it then it would come from nixpkgs, not from here. It might be ralated to this issue. I remember swapping out nix's wezterm for brew at one point in time but have since switched back on the aarch64-darwin machine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants