Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
base: 25e8015fed29
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
compare: aa364b90d4e3
Choose a head ref
  • 20 commits
  • 14 files changed
  • 10 contributors

Commits on May 9, 2020

  1. Copy the full SHA
    43d6898 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1e0912d View commit details
    Browse the repository at this point in the history

Commits on May 25, 2020

  1. nixos/networking: Add the FQDN and hostname to /etc/hosts

    This fixes the output of "hostname --fqdn" (previously the domain name
    was not appended). Additionally it's now possible to use the FQDN.
    
    This works by unconditionally adding two entries to /etc/hosts:
    127.0.0.1 localhost
    ::1 localhost
    
    These are the first two entries and therefore gethostbyaddr() will
    always resolve "127.0.0.1" and "::1" back to "localhost" [0].
    This works because nscd (or rather the nss-files module) returns the
    first matching row from /etc/hosts (and ignores the rest).
    
    The FQDN and hostname entries are appended later to /etc/hosts, e.g.:
    127.0.0.2 nixos-unstable.test.tld nixos-unstable
    ::1 nixos-unstable.test.tld nixos-unstable
    Note: We use 127.0.0.2 here to follow nss-myhostname (systemd) as close
    as possible. This has the advantage that 127.0.0.2 can be resolved back
    to the FQDN but also the drawback that applications that only listen to
    127.0.0.1 (and not additionally ::1) cannot be reached via the FQDN.
    If you would like this to work you can use the following configuration:
    ```nix
    networking.hosts."127.0.0.1" = [
      "${config.networking.hostName}.${config.networking.domain}"
      config.networking.hostName
    ];
    ```
    
    Therefore gethostbyname() resolves "nixos-unstable" to the FQDN
    (canonical name): "nixos-unstable.test.tld".
    
    Advantages over the previous behaviour:
    - The FQDN will now also be resolved correctly (the entry was missing).
    - E.g. the command "hostname --fqdn" will now work as expected.
    Drawbacks:
    - Overrides entries form the DNS (an issue if e.g. $FQDN should resolve
      to the public IP address instead of 127.0.0.1)
      - Note: This was already partly an issue as there's an entry for
        $HOSTNAME (without the domain part) that resolves to
        127.0.1.1 (!= 127.0.0.1).
    - Unknown (could potentially cause other unexpected issues, but special
      care was taken).
    
    [0]: Some applications do apparently depend on this behaviour (see
    c578924) and this is typically the expected behaviour.
    
    Co-authored-by: Florian Klink <flokli@flokli.de>
    primeos and flokli committed May 25, 2020
    Copy the full SHA
    234d95a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    46a1352 View commit details
    Browse the repository at this point in the history
  3. flexget: 3.1.30 -> 3.1.56

    r-ryantm committed May 25, 2020
    Copy the full SHA
    3e7543a View commit details
    Browse the repository at this point in the history
  4. nixos/tests/hostname: init (check system's host name)

    NixOS currently has issues with setting the FQDN of a system in a way
    where standard tools work. In order to help with experimentation and
    avoid regressions, add a test that checks that the hostname is
    reported as the user wanted it to be.
    
    Co-authored-by: Michael Weiss <dev.primeos@gmail.com>
    blitz and primeos committed May 25, 2020
    Copy the full SHA
    837ec31 View commit details
    Browse the repository at this point in the history
  5. nixos: Require networking.hostName to be a valid DNS label

    This also means that the hostname must not contain the domain name part
    anymore (i.e. must not be a FQDN).
    See RFC 1035 [0], "man 5 hostname", or the kernel documentation [1].
    Note: For legacy reasons we also allow underscores inside of the label
    but this is not recommended and intentionally left undocumented.
    
    [0]: https://tools.ietf.org/html/rfc1035
    [1]: https://www.kernel.org/doc/html/latest/admin-guide/sysctl/kernel.html#domainname-hostname
    
    Co-authored-by: zimbatm <zimbatm@zimbatm.com>
    primeos and zimbatm committed May 25, 2020
    Copy the full SHA
    993baa5 View commit details
    Browse the repository at this point in the history
  6. gexiv2: 0.12.0 -> 0.12.1

    r-ryantm committed May 25, 2020
    Copy the full SHA
    27fbd43 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    a82b2dd View commit details
    Browse the repository at this point in the history
  8. miniflux: 2.0.19 -> 2.0.21

    mweinelt committed May 25, 2020
    Copy the full SHA
    78e5bcf View commit details
    Browse the repository at this point in the history
  9. Merge pull request #76542 from primeos/etc-hosts-fqdn-fix

    nixos/networking: Add the FQDN and hostname to /etc/hosts
    flokli committed May 25, 2020
    Copy the full SHA
    921a4ec View commit details
    Browse the repository at this point in the history
  10. miniflux: install manpage

    marsam committed May 25, 2020
    Copy the full SHA
    fed9824 View commit details
    Browse the repository at this point in the history
  11. flexget: 3.1.56 -> 3.1.57

    marsam committed May 25, 2020
    Copy the full SHA
    958ab0a View commit details
    Browse the repository at this point in the history
  12. Merge pull request #88879 from r-ryantm/auto-update/FlexGet

    flexget: 3.1.30 -> 3.1.56
    marsam committed May 25, 2020
    Copy the full SHA
    5dd85bf View commit details
    Browse the repository at this point in the history

Commits on May 26, 2020

  1. Merge pull request #77281 from bcdarwin/python-livelossplot

    python3Packages.livelossplot: init at v0.5.0
    bhipple committed May 26, 2020
    Copy the full SHA
    77eb712 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #88897 from mweinelt/miniflux

    miniflux: 2.0.19 -> 2.0.21
    marsam committed May 26, 2020
    Copy the full SHA
    032e57d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #87447 from bcdarwin/ocaml-torch

    ocamlPackages.torch: init at 0.8
    bhipple committed May 26, 2020
    Copy the full SHA
    5e22232 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #88883 from r-ryantm/auto-update/gexiv2

    gexiv2: 0.12.0 -> 0.12.1
    jtojnar committed May 26, 2020
    Copy the full SHA
    1c0b497 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #88890 from r-ryantm/auto-update/gnome-software

    gnome3.gnome-software: 3.36.0 -> 3.36.1
    jtojnar committed May 26, 2020
    Copy the full SHA
    8a25e3d View commit details
    Browse the repository at this point in the history
  6. Merge pull request #75237 from r-ryantm/auto-update/gmic

    gmic: 2.7.5 -> 2.8.0
    jtojnar committed May 26, 2020
    Copy the full SHA
    aa364b9 View commit details
    Browse the repository at this point in the history