Comments (4)
When I check that directory, I see I have a brew
linked:
/opt/homebrew/bin ❯ ls -alt
total 0
drwxrwxr-x 27 dustin admin 864 Mar 5 17:45 .
lrwxr-xr-x 1 root admin 48 Mar 5 17:45 brew -> /nix/store/5mpmg28qc330darj1rwp05cdc2dkk0gn-brew
Perhaps it's an active bug with nix-homebrew
? Building the system should create that symlink.
from nixos-config.
@dustinlyons I tried:
➜ nixos-config nix run .#build
Running build for aarch64-darwin
Starting build...
Cleaning up...
Switch to new generation complete!
➜ nixos-config nix run .#build-switch
Running build-switch for aarch64-darwin
Starting build...
Switching to new generation...
building the system configuration...
setting up Homebrew (/opt/homebrew)...
ln: /opt/homebrew/bin/brew: No such file or directory
but still the same
from nixos-config.
Now when I tried from scratch with installed homebrew at the beginning I've got:
➜ nixos-config nix run .#build-switch
Running build-switch for aarch64-darwin
Starting build...
Switching to new generation...
building the system configuration...
setting up Homebrew (/opt/homebrew)...
Warning: An existing /opt/homebrew/Library/Homebrew is in the way
Warning: /opt/homebrew seems to contain an existing copy of Homebrew.
==> Looks like an Apple Silicon installation (Homebrew prefix is the repository)
==> Attempting to migrate Homebrew installation...
Removing stray vendor directory
ln: /opt/homebrew/bin/brew: No such file or directory
from nixos-config.
I've completely removed /opt/homebrew
, removed nix, reinstalled and it works now :)
from nixos-config.
Related Issues (20)
- Installation issue on NixOS with xvda boot disk HOT 3
- Installed new NixOS install using this repo, no GUI on reboot HOT 13
- macOS - User does not own "system" or "default" profile HOT 8
- error: selector 'bash' matches no derivations HOT 21
- Purpose of mail and name? HOT 2
- Networking wireless device fails to start HOT 3
- How to upgrade everything installed (Mac OSX Sonoma)? HOT 6
- Add -b backup to `home-manager switch` HOT 2
- error: experimental Nix feature 'nix-command' is disabled HOT 8
- starter config appears to expect secrets repo HOT 3
- Couple of issues found with the latest instructions/code HOT 4
- How can I fix this homebrew error? HOT 4
- Add option to choose editor during install
- Permission denied with homebrew HOT 4
- How can I add stylix HOT 2
- [Question] Have you considered adding a dock module to nix-darwin? HOT 1
- Does your configuration play with non nix-os Linux systems? HOT 1
- First time user issue? : error: nixVersions.unstable has been removed. HOT 3
- [nix run .#build] error: nixVersions.unstable has been removed. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixos-config.