You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have XCode command line tools installed using xcode-select --install.
I tried setting both GNU and Clang as default compilers with CC and CXX, both resulted in the same error.
My config is available in my dotfiles repository.
I have a MacBook Pro with an M4 Max, but had the same problem with my MacBook Pro M2.
If any information is missing, please let me know.
My system is working fine with the old version, but I would like to know what the problem is :)
Can anyone help? Thx
nix flake update results in the following changes:
When I then run darwin-rebuild switch --flake .#macbook --impure I get this output:
building the system configuration...
warning: Git tree '/Users/frank/Git/dotfiles' is dirty
error: builder for '/nix/store/fnhphj81maas12dvlwm8lrvy8sc6g02m-duti-1.5.5pre.drv' failed with exit code 2;
last 25 log lines:
> checking for suffix of object files... o
> checking whether the compiler supports GNU C... yes
> checking whether clang accepts -g... yes
> checking for clang option to enable C11 features... none needed
> checking for a BSD-compatible install... /nix/store/5g6np23z9q7vwwp1s5pxkgn8f8wrmihh-coreutils-9.5/bin/install -c
> checking build system type... aarch64-apple-darwin24.1.0
> checking host system type... x86_64-apple-darwin18
> checking target system type... x86_64-apple-darwin18
> checking which SDK to use... /homeless-shelter
> checking Mac OS X deployment target... 10.14
> checking for strlcpy... yes
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating version.c
> Running phase: buildPhase
> build flags: SHELL=/nix/store/sk8z3kdy6iaky6sg972k6fkh3iw2rn3d-bash-5.2p37/bin/bash
> clang -isysroot /homeless-shelter -mmacosx-version-min=10.14 -Wall -Wmissing-prototypes -g -O2 -c ./version.c
> clang-16: warning: no such sysroot directory: '/homeless-shelter' [-Wmissing-sysroot]
> clang -isysroot /homeless-shelter -mmacosx-version-min=10.14 -Wall -Wmissing-prototypes -g -O2 -c ./util.c
> clang-16: warning: no such sysroot directory: '/homeless-shelter' [-Wmissing-sysroot]
> ./util.c:1:10: fatal error: 'CoreFoundation/CoreFoundation.h' file not found
> #include <CoreFoundation/CoreFoundation.h>
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> make: *** [Makefile:48: util.o] Error 1
For full logs, run 'nix log /nix/store/fnhphj81maas12dvlwm8lrvy8sc6g02m-duti-1.5.5pre.drv'.
error: 1 dependencies of derivation '/nix/store/9ipx4xx43k6v2ra0bl0p1f3hxirqnp41-system-applications.drv' failed to build
error: 1 dependencies of derivation '/nix/store/yhls0wf8k0dmlpymlzq7lbwmjcc6qv04-darwin-system-25.05.20241118.5083ec8+darwin5.edabc79.drv' failed to build
brew doctor results in this output:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Missing https://github.com/Homebrew/brew git origin remote.
Without a correctly configured origin, Homebrew won't update
properly. You can solve this by adding the remote:
git -C "/opt/homebrew/Library/.homebrew-is-managed-by-nix" remote add origin https://github.com/Homebrew/brew
Warning: No Cask quarantine support available: unknown reason.
Warning: /usr/bin occurs before /opt/homebrew/bin in your PATH.
This means that system-provided programs will be used instead of those
provided by Homebrew. Consider setting your PATH so that
/opt/homebrew/bin occurs before /usr/bin. Here is a one-liner:
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc
The following tools exist at both paths:
openssl
tidy
The text was updated successfully, but these errors were encountered:
I can't update (more details below).
I have XCode command line tools installed using
xcode-select --install
.I tried setting both GNU and Clang as default compilers with
CC
andCXX
, both resulted in the same error.My config is available in my dotfiles repository.
I have a MacBook Pro with an M4 Max, but had the same problem with my MacBook Pro M2.
If any information is missing, please let me know.
My system is working fine with the old version, but I would like to know what the problem is :)
Can anyone help? Thx
nix flake update
results in the following changes:When I then run
darwin-rebuild switch --flake .#macbook --impure
I get this output:brew doctor
results in this output:The text was updated successfully, but these errors were encountered: