Comments (3)
I was trying to reproduce this on an older Mac install I had and was not able to. I suspect it's related to something that changed in 0.15, perhaps related to the new Mac Nix hooks. I'm going to spend some more time investigating. Thank you for this report!
from nix-installer.
I tested this again in 0.16.0 today and was able to confirm it. Noting you do need to nix profile install nixpkgs#hello
before entering the nix shell
to reproduce.
from nix-installer.
I was able to reproduce this on an aarch64 Sonoma 14.3 using the installer from https://nixos.org/download as well as ours, in your issue you stated you also tried with the upstream installer, however it was when the upstream installer was pointing to 2.18 (I believe). I wonder if this is a Nix 2.19 issue.
~ % nix profile install nixpkgs#hello
~ % nix shell github:wch/nix-hello-demo
~ % hello
Hello, world!
~ % echo $PATH
/Users/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/nix/store/050vas2swsvr7sqrf75mkxwi851ycxcz-hello/bin:/Users/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:...
~ % nix --version
nix (Nix) 2.19.3
~ % sw_vers
ProductName: macOS
ProductVersion: 14.3
BuildVersion: 23D56
I was also able to reproduce this on a fresh Ubuntu VM using the upstream installer:
from nix-installer.
Related Issues (20)
- DNS error during fetch and unpack HOT 1
- Existing `nixbld` user with custom UID different than planned. HOT 1
- Parsing of a faulty APFS volume breaks installation HOT 1
- `/nix` folder does not exist when creating `/nix/var` HOT 2
- Error while syncing `/etc/selinux/targeted/tmp` to filesystem
- Mac APFS volume cannot be unmounted (ThemeWidgetControlViewService) HOT 2
- how to install specific nix version HOT 2
- Created APFS volume is not found HOT 9
- unattended .iso installer HOT 9
- How to pick up fixes in nix-installer? HOT 2
- Unable to run installer if userid 301 already exists HOT 3
- Running installer on macOS over conventional installation HOT 1
- Mac APFS volume cannot be unmounted (Kernel) HOT 2
- <autogenerated-issue> Install failure
- Mac APFS volume cannot be unmounted (script) HOT 1
- nix run nix-darwin -- switch --flake . -> error: unexpected files in /etc, aborting installation HOT 5
- nix upgrade-nix HOT 6
- Non-uinque UID 30032 prevents installation on Arch Linux
- Install fails when /nix/store is a bind mount HOT 1
- error: unable to load seccomp BPF program: Invalid argument 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 nix-installer.