Skip to content
This repository was 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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0a7e258012b6
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 32bcd72bf28a
Choose a head ref

Commits on Apr 27, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    bagder Daniel Stenberg
    Copy the full SHA
    c3c6951 View commit details

Commits on Aug 6, 2018

  1. Copy the full SHA
    ae7cc3e View commit details

Commits on Aug 14, 2018

  1. Copy the full SHA
    2d1ecc4 View commit details

Commits on Aug 16, 2018

  1. Copy the full SHA
    58a2632 View commit details
  2. nixos/triggerhappy: init

    jfrankenau committed Aug 16, 2018
    Copy the full SHA
    f912925 View commit details

Commits on Aug 27, 2018

  1. vk-messenger: init

    gnidorah committed Aug 27, 2018
    Copy the full SHA
    f086c4b View commit details

Commits on Sep 3, 2018

  1. Copy the full SHA
    25a14fc View commit details

Commits on Sep 4, 2018

  1. nix-daemon service: Ensure ssh is on PATH. Fixes #46038.

    This fixes a regression introduced in commit
      700e21d
    
    nix needs ssh on path for the SSH substituter functionality,
    not only the distributed builds functionality.
    
    Signed-off-by: Niklas Hambüchen <mail@nh2.me>
    nh2 committed Sep 4, 2018
    Copy the full SHA
    31919bc View commit details
  2. Allow the definition of extra options on commandline

    I stumbled upon an issue with the Alertmanager that required
    an additional comand line option. See https://groups.google.com/forum/#!msg/prometheus-users/-5wd-P13xCI/lGLBHHgnBgAJ
    azazel75 committed Sep 4, 2018
    Copy the full SHA
    69e4e49 View commit details

Commits on Sep 6, 2018

  1. altcoins.parity-ui: 0.2.8 -> 0.3.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    parity-ui
    R. RyanTM committed Sep 6, 2018
    Copy the full SHA
    597ecd0 View commit details

Commits on Sep 7, 2018

  1. htslib: 1.7 -> 1.9

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    htslib
    R. RyanTM committed Sep 7, 2018
    Copy the full SHA
    cb787e9 View commit details
  2. Copy the full SHA
    ee58a5b View commit details

Commits on Sep 10, 2018

  1. nixos/initrd-network: multiple fixes

     * acquire DHCP on the interfaces with networking.interface.$name.useDHCP == true or on all interfaces if networking.useDHCP == true (was only only "eth0")
     * respect "mtu" if it was in DHCP answer (it happens in the wild)
     * acquire and set up staticroutes (unlike others clients, udhcpc does not do the query by default); this supersedes NixOS/nixpkgs#41829
    volth authored Sep 10, 2018
    Copy the full SHA
    502b37a View commit details
  2. oops

    volth authored Sep 10, 2018
    Copy the full SHA
    16edfb2 View commit details
  3. Copy the full SHA
    7d238e6 View commit details

Commits on Sep 13, 2018

  1. Copy the full SHA
    574f4c4 View commit details
  2. maintainers: add 'haslersn'

    haslersn committed Sep 13, 2018
    Copy the full SHA
    9624b74 View commit details
  3. Increase Virtualbox disk image size

    10G is not enough for a desktop installation, and resizing a Virtualbox disk image is a pain. 
    Let's increase the default disk size to 100G. It does not require more storage space, since the empty bits are left out.
    brainrake authored Sep 13, 2018
    Copy the full SHA
    f96dde6 View commit details

Commits on Sep 15, 2018

  1. Copy the full SHA
    2039327 View commit details
  2. Copy the full SHA
    d3eff01 View commit details
  3. Copy the full SHA
    32c63c6 View commit details
  4. tests: bittorrent: improve stability

    This attempts to improve stability of the test by using existing
    services for miniupnpd and transmission.
    
    It also uses explicit addresses for the network interfaces so that the
    external IP addresses are valid internet addresses (thus fixing
    validation problems from upnpc).
    
    Also disable eth0 from being used to transfer torrents over without that
    being the intention.
    bobvanderlinden committed Sep 15, 2018
    Copy the full SHA
    276ffc5 View commit details
  5. Copy the full SHA
    5fbc521 View commit details
  6. Copy the full SHA
    906e69d View commit details
  7. Copy the full SHA
    1de1bc8 View commit details

Commits on Sep 16, 2018

  1. any-nix-shell: init at 1.1.0

    haslersn committed Sep 16, 2018
    Copy the full SHA
    ceb0d1a View commit details

Commits on Sep 18, 2018

  1. build-idris-package: ipkgName

    tg-x committed Sep 18, 2018
    Copy the full SHA
    7e0f7a0 View commit details
  2. nixos/tt_rss: Give a proper UID

    dasJ committed Sep 18, 2018
    Copy the full SHA
    be6e995 View commit details

Commits on Sep 19, 2018

  1. Copy the full SHA
    aaa3e3f View commit details
  2. dovecot: allow sasl_bind=yes in the LDAP driver.

    Dovecot has its own SASL implementation,
    but needs Cyrus SASL's headers to bind to an LDAP server using SASL.
    
    This is useful to avoid the need to manage a dnpass= in dovecot-ldap.conf
    by using the Unix socket to authenticate.
    
    This is done with sasl_mech=EXTERNAL in dovecot-ldap.conf, and some olcAccess: with
     by dn="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" read
    in the slapd's cn=config for the LDAP database queried by dovecot/auth (which runs as root).
    Julien Moutinho committed Sep 19, 2018
    Copy the full SHA
    27f95f3 View commit details

Commits on Sep 20, 2018

  1. xorriso: 1.4.8 -> 1.5.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/xorriso/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    ae5a7f4 View commit details
  2. wireless-regdb: 2018.05.31 -> 2018.09.07

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/wireless-regdb/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    286915d View commit details
  3. vips: 8.6.5 -> 8.7.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/vips/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    f2b3b13 View commit details
  4. nixos/systemd-lib: fix assertValueOneOf

    when value is not a string
    florianjacob committed Sep 20, 2018
    Copy the full SHA
    4392ec6 View commit details
  5. proj: 4.9.3 -> 5.2.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/proj/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    4d404fb View commit details
  6. altcoins.litecoin: 0.16.0 -> 0.16.2

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/litecoin/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    43f32d2 View commit details
  7. geos: 3.6.3 -> 3.7.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/geos/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    98a4afc View commit details

Commits on Sep 21, 2018

  1. netbsd 7.1.2 -> 8.0

    dtzWill committed Sep 21, 2018
    Copy the full SHA
    6974f98 View commit details
  2. netbsd: hashes

    dtzWill committed Sep 21, 2018
    Copy the full SHA
    8517039 View commit details
  3. Copy the full SHA
    d08ff06 View commit details
  4. Copy the full SHA
    9e2bd0d View commit details
  5. Copy the full SHA
    353d994 View commit details
  6. Copy the full SHA
    6d8647f View commit details

Commits on Sep 22, 2018

  1. systrayhelper: init at 0.0.3

    offers a stdio json interface to create menu-items.
    and send click events back over stdout.
    cryptix committed Sep 22, 2018
    Copy the full SHA
    5ebbd44 View commit details

Commits on Sep 23, 2018

  1. Remove dead code from stdenv check-meta license logic

    The `unfree` and `unfreeRedistributable` licenses both have `free = false`,
    which will trigger the first portion of logic. This removes dead code to
    simplify the logic.
    
    As a follow-up, I plan to add an attribute `redistributable = [true|false]`,
    which can be used by Hydra to determine whether a given package with a given
    license can be included in the channel.
    bhipple committed Sep 23, 2018
    Copy the full SHA
    0b9d9ab View commit details
  2. nixos/network-interfaces-scripted: fix container networking bug

    When a bridge interface was reconfigured, running containers using
    this bridge lost connectivity: restarting network-addresses-brN.service
    triggered a restart of network-setup.service via a "partOf" relationship
    introduced in 07e0c0e.
    This in turn restarted brN-netdev.service.
    The bridge was thus destroyed and recreated with the same name but a new
    interface id, causing attached veth interfaces to lose their connection.
    
    This change removes the "partOf" relationship between
    network-setup.service and network-addresses-brN.service for all bridges.
    xeji committed Sep 23, 2018
    Copy the full SHA
    2742063 View commit details

Commits on Sep 24, 2018

  1. Copy the full SHA
    5e5e3d8 View commit details
  2. ssocr: init at 2018-08-11

    rokk4 committed Sep 24, 2018
    Copy the full SHA
    c160745 View commit details
  3. hoppet: init at 1.2.0

    veprbl committed Sep 24, 2018
    Copy the full SHA
    af476db View commit details
  4. mela: init at 2.0.1

    veprbl committed Sep 24, 2018
    Copy the full SHA
    f793b9f View commit details
Showing 660 changed files with 18,333 additions and 6,388 deletions.
8 changes: 0 additions & 8 deletions .dir-locals.el

This file was deleted.

2 changes: 2 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -20,6 +20,8 @@ under the terms of [COPYING](../COPYING), which is an MIT-like license.
(Motivation for change. Additional information.)
```

For consistency, there should not be a period at the end of the commit message's summary line (the first line of the commit message).

Examples:

* nginx: init at 2.0.1
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -12,12 +12,12 @@ build daemon as so-called channels. To get channel information via git, add
```

For stability and maximum binary package support, it is recommended to maintain
custom changes on top of one of the channels, e.g. `nixos-18.03` for the latest
custom changes on top of one of the channels, e.g. `nixos-18.09` for the latest
release and `nixos-unstable` for the latest successful build of master:

```
% git remote update channels
% git rebase channels/nixos-18.03
% git rebase channels/nixos-18.09
```

For pull-requests, please rebase onto nixpkgs `master`.
@@ -31,9 +31,9 @@ For pull-requests, please rebase onto nixpkgs `master`.
* [Manual (NixOS)](https://nixos.org/nixos/manual/)
* [Community maintained wiki](https://nixos.wiki/)
* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
* [Continuous package builds for 18.03 release](https://hydra.nixos.org/jobset/nixos/release-18.03)
* [Continuous package builds for 18.09 release](https://hydra.nixos.org/jobset/nixos/release-18.09)
* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
* [Tests for 18.03 release](https://hydra.nixos.org/job/nixos/release-18.03/tested#tabs-constituents)
* [Tests for 18.09 release](https://hydra.nixos.org/job/nixos/release-18.09/tested#tabs-constituents)

Communication:

2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.
For more information, please see the NixOS release notes at
https://nixos.org/nixos/manual or locally at
${toString ./doc/manual/release-notes}.
${toString ./nixos/doc/manual/release-notes}.
If you need further help, see https://nixos.org/nixos/support.html
''
1 change: 1 addition & 0 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -4,3 +4,4 @@
out
manual-full.xml
highlightjs
functions/library/locations.xml
8 changes: 6 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ fix-misc-xml:

.PHONY: clean
clean:
rm -f ${MD_TARGETS} .version manual-full.xml
rm -f ${MD_TARGETS} .version manual-full.xml functions/library/locations.xml
rm -rf ./out/ ./highlightjs

.PHONY: validate
@@ -69,13 +69,17 @@ highlightjs:
cp -r "$$HIGHLIGHTJS/loader.js" highlightjs/


manual-full.xml: ${MD_TARGETS} .version *.xml **/*.xml
manual-full.xml: ${MD_TARGETS} .version functions/library/locations.xml *.xml **/*.xml **/**/*.xml
xmllint --nonet --xinclude --noxincludenode manual.xml --output manual-full.xml

.version:
nix-instantiate --eval \
-E '(import ../lib).version' > .version

functions/library/locations.xml:
nix-build ./lib-function-locations.nix \
--out-link ./functions/library/locations.xml

%.section.xml: %.section.md
pandoc $^ -w docbook+smart \
-f markdown+smart \
5 changes: 4 additions & 1 deletion doc/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ pkgs ? (import ./.. { }), nixpkgs ? { }}:
let
pkgs = import ./.. { };
lib = pkgs.lib;
locationsXml = import ./lib-function-locations.nix { inherit pkgs nixpkgs; };
in
pkgs.stdenv.mkDerivation {
name = "nixpkgs-manual";
@@ -29,6 +30,8 @@ pkgs.stdenv.mkDerivation {
];

postPatch = ''
rm -rf ./functions/library/locations.xml
ln -s ${locationsXml} ./functions/library/locations.xml
echo ${lib.version} > .version
'';

2 changes: 1 addition & 1 deletion doc/functions.xml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
The nixpkgs repository has several utility functions to manipulate Nix
expressions.
</para>

<xi:include href="functions/library.xml" />
<xi:include href="functions/overrides.xml" />
<xi:include href="functions/generators.xml" />
<xi:include href="functions/debug.xml" />
15 changes: 15 additions & 0 deletions doc/functions/library.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-functions-library">
<title>Nixpkgs Library Functions</title>

<para>
Nixpkgs provides a standard library at <varname>pkgs.lib</varname>, or
through <code>import &lt;nixpkgs/lib&gt;</code>.
</para>

<xi:include href="./library/asserts.xml" />

<xi:include href="./library/attrsets.xml" />
</section>
117 changes: 117 additions & 0 deletions doc/functions/library/asserts.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-functions-library-asserts">
<title>Assert functions</title>

<section xml:id="function-library-lib.asserts.assertMsg">
<title><function>lib.asserts.assertMsg</function></title>

<subtitle><literal>assertMsg :: Bool -> String -> Bool</literal>
</subtitle>

<xi:include href="./locations.xml" xpointer="lib.asserts.assertMsg" />

<para>
Print a trace message if <literal>pred</literal> is false.
</para>

<para>
Intended to be used to augment asserts with helpful error messages.
</para>

<variablelist>
<varlistentry>
<term>
<varname>pred</varname>
</term>
<listitem>
<para>
Condition under which the <varname>msg</varname> should
<emphasis>not</emphasis> be printed.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>msg</varname>
</term>
<listitem>
<para>
Message to print.
</para>
</listitem>
</varlistentry>
</variablelist>

<example xml:id="function-library-lib.asserts.assertMsg-example-false">
<title>Printing when the predicate is false</title>
<programlisting><![CDATA[
assert lib.asserts.assertMsg ("foo" == "bar") "foo is not bar, silly"
stderr> trace: foo is not bar, silly
stderr> assert failed
]]></programlisting>
</example>
</section>

<section xml:id="function-library-lib.asserts.assertOneOf">
<title><function>lib.asserts.assertOneOf</function></title>

<subtitle><literal>assertOneOf :: String -> String ->
StringList -> Bool</literal>
</subtitle>

<xi:include href="./locations.xml" xpointer="lib.asserts.assertOneOf" />

<para>
Specialized <function>asserts.assertMsg</function> for checking if
<varname>val</varname> is one of the elements of <varname>xs</varname>.
Useful for checking enums.
</para>

<variablelist>
<varlistentry>
<term>
<varname>name</varname>
</term>
<listitem>
<para>
The name of the variable the user entered <varname>val</varname> into,
for inclusion in the error message.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>val</varname>
</term>
<listitem>
<para>
The value of what the user provided, to be compared against the values in
<varname>xs</varname>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>xs</varname>
</term>
<listitem>
<para>
The list of valid values.
</para>
</listitem>
</varlistentry>
</variablelist>

<example xml:id="function-library-lib.asserts.assertOneOf-example">
<title>Ensuring a user provided a possible value</title>
<programlisting><![CDATA[
let sslLibrary = "bearssl";
in lib.asserts.assertOneOf "sslLibrary" sslLibrary [ "openssl" "bearssl" ];
=> false
stderr> trace: sslLibrary must be one of "openssl", "libressl", but is: "bearssl"
]]></programlisting>
</example>
</section>
</section>
Loading