Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 0e416d7e6b09
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 6419bdac052f
Choose a head ref
  • 3 commits
  • 1 file changed
  • 2 contributors

Commits on Oct 2, 2018

  1. nixos/networking: simplify /etc/hosts generation, add asserts

    Since `networking.hosts` is properly typed all of that magic `/etc/hosts` generator
    does can be dropped. People that disagree with the value of `networking.hosts` can
    simply `mkForce`.
    oxij committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    1ece504 View commit details
    Browse the repository at this point in the history
  2. nixos/networking: add hostname to /etc/hosts by default

    We use `127.0.1.1` instead of `127.0.0.1` because some applications will fail if
    `127.0.0.1` resolves to something other than `localhost`.
    
    Debian does the same.
    
    See #1248 and #36261.
    oxij committed Oct 2, 2018
    Configuration menu
    Copy the full SHA
    c578924 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2018

  1. Merge pull request #47241 from oxij/pull/36261-fix-local-hostname-alt…

    …ernative
    
    nixos/networking: add hostname to /etc/hosts by default, simplify
    xeji committed Oct 27, 2018
    Configuration menu
    Copy the full SHA
    6419bda View commit details
    Browse the repository at this point in the history