Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --no-net flag #2949

Merged
merged 4 commits into from
Jun 18, 2019
Merged

Add --no-net flag #2949

merged 4 commits into from
Jun 18, 2019

Commits on Jun 13, 2019

  1. For nixpkgs.<attr>, use legacyPackages

    This makes commands like 'nix run nixpkgs.chromium' work again.
    edolstra committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    415fc23 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. Add '--no-net' convenience flag

    This flag
    
    * Disables substituters.
    
    * Sets the tarball-ttl to infinity (ensuring e.g. that the flake
      registry and any downloaded flakes are considered current).
    
    * Disables retrying downloads and sets the connection timeout to the
      minimum. (So it doesn't completely disable downloads at the moment.)
    edolstra committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    8ea8422 View commit details
    Browse the repository at this point in the history
  2. Add "warning" verbosity level

    This ensures that "nix" shows warnings. Previously these were hidden
    because they were at "info" level.
    edolstra committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    615a9d0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04a5976 View commit details
    Browse the repository at this point in the history