NixOS / NixOS/nix

~/.config/nix/nix.conf overrides values of /etc/nix/nix.conf

Open
#2,149 14 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
C++
Stars
17.7k
Forks
2k
Avg merge
1d 16h
Merged PRs (30d)
80

Description

I'd expect substituters in ~/.config/nix/nix.conf to be appended on top of the system /etc/nix/nix.conf, but currently, Nix overrides them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare how ~/.config/nix/nix.conf and /etc/nix/nix.conf are loaded, beginning with the configuration-loading entry point. Verify that substituters from the user configuration are combined with the system values, and confirm the resulting precedence with a focused test or configuration run.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.