Failed to install: /etc/nix/nix.conf: No such file or directory
Open
Nobody has claimed this yet.
installer
- Dominant language
- C++
- Stars
- 17.7k
- Forks
- 2k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 80
Description
Platform
- Linux:
- macOS
- WSL
Additional information
Output
Output
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo HOME=/var/root NIX_SSL_CERT_FILE=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /nix/store/zrzr8zpi51sxs64d5kir0ny02sxx1kyr-nix-2.14.1/bin/nix-channel --update nixpkgs
to update the default channel in the default profile
unpacking channels...
---- sudo execution ------------------------------------------------------------
I am executing:
$ sudo install -m 0664 /var/folders/8b/_03dmbk92nq24j117ll9dkgh0000gn/T/tmp.N8uBAYq8/nix.conf /etc/nix/nix.conf
to place the default nix daemon configuration (part 2)
install: /etc/nix/nix.conf: No such file or directory
Priorities
Add 👍 to issues you find important.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the macOS installation using the reported sudo command and inspect the step that installs /etc/nix/nix.conf. Compare the installer’s handling of that path with the failure output; done means the installation completes without the reported missing-directory error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100