NixOS / NixOS/nix

Commands should not require a network connection if all dependencies are available locally

Open
#1,985 27 comments 45 reactions 1 assignee View on GitHub

@shlevy is already working on this.

Since Apr 1, 2018.

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

Description

I've encountered situations where I am somewhere with no internet connection and tools like nix-build, nix-shell, nix-env, etc. fail with some kind of network error even though I know all the dependencies exist locally. It would be really nice if the default behavior didn't make any network requests if all the dependencies are already in the local nix cache.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.