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: 9772ea03140d
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: ddebab3575e8
Choose a head ref

Commits on Sep 7, 2018

  1. fluidsynth: 1.1.10 -> 1.1.11

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/fluidsynth/versions
    R. RyanTM committed Sep 7, 2018
    Copy the full SHA
    be9e9a4 View commit details
  2. capnproto: 0.6.1 -> 0.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/capnproto/versions
    R. RyanTM committed Sep 7, 2018
    Copy the full SHA
    d4e2c90 View commit details

Commits on Sep 17, 2018

  1. arcanist: fix mtime impurity

    This package would sometimes require bison, depending on file enumeration order. Adding -a flag to cp to preserve mtimes fixes this.
    yorickvP committed Sep 17, 2018
    Copy the full SHA
    6a1cb96 View commit details

Commits on Sep 20, 2018

  1. openal: 1.18.2 -> 1.19.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/openal-soft/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    d24b81b View commit details
  2. ocamlPackages.ocamlbuild: 0.12.0 -> 0.13.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/ocamlbuild/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    d817883 View commit details
  3. Copy the full SHA
    7eb9c34 View commit details
  4. Copy the full SHA
    9046673 View commit details
  5. clickhouse: 18.10.3 -> 18.12.17

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/clickhouse/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    6f88fb0 View commit details
  6. elfutils: 0.173 -> 0.174

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

Commits on Sep 23, 2018

  1. Copy the full SHA
    5e16e67 View commit details

Commits on Oct 2, 2018

  1. Copy the full SHA
    f6c4fff View commit details
  2. Copy the full SHA
    b25bb5c View commit details
  3. Copy the full SHA
    f9e7e38 View commit details

Commits on Oct 3, 2018

  1. Copy the full SHA
    04bbb2a View commit details
  2. nixos/munin: move from /var/run to /run

    as using /var/run now emits a warning by systemd's tmpfiles.d.
    As /var/run is already a symlink to /run, this can't break anything, and
    data does not need to be migrated.
    florianjacob committed Oct 3, 2018
    Copy the full SHA
    c54aa26 View commit details

Commits on Oct 5, 2018

  1. linux: inside nix-shell, allow make menuconfig

    Use stdenv.lib.inNixShell to check for nix-shell and potentially bring pkgconfig/ncurses.
    teto committed Oct 5, 2018
    Copy the full SHA
    e80324c View commit details

Commits on Oct 10, 2018

  1. scummvm: add several ScummVM supported games

     - Beneath a Steel Sky: v1.2
     - Drascula: The Vampire Strikes Back: v2.0
     - Flight of the Amazon Queen: v1.1
     - Lure of the Temptress: v1.1
    peterhoeg committed Oct 10, 2018
    Copy the full SHA
    a75b320 View commit details
  2. Copy the full SHA
    8dd8360 View commit details
  3. cholmod-extra: init at 1.2.0

    jluttine committed Oct 10, 2018
    Copy the full SHA
    f065de3 View commit details

Commits on Oct 12, 2018

  1. perlPackages.LWP: fix cross-compilation

    volth committed Oct 12, 2018
    Copy the full SHA
    36834a0 View commit details
  2. perlPackages.XMLParser: fix cross-compilation

    volth committed Oct 12, 2018
    Copy the full SHA
    201d3ef View commit details
  3. Copy the full SHA
    16d064c View commit details
  4. perlPackages.NetDBus: fix cross-compilation

    volth committed Oct 12, 2018
    Copy the full SHA
    70858e2 View commit details
  5. perlXMLParser -> perlPackages.XMLParser

    volth committed Oct 12, 2018
    Copy the full SHA
    c0fed1b View commit details
  6. aliases.nix: add perlXMLParser

    volth committed Oct 12, 2018
    Copy the full SHA
    ccd4024 View commit details

Commits on Oct 13, 2018

  1. python: Theano: 1.0.2 -> 1.0.3

    FRidh committed Oct 13, 2018
    Copy the full SHA
    4b12cfb View commit details
  2. Copy the full SHA
    c26359c View commit details
  3. Copy the full SHA
    7e3a047 View commit details
  4. Copy the full SHA
    5b91e4a View commit details
  5. Copy the full SHA
    81ba7e8 View commit details
  6. Copy the full SHA
    96c30ae View commit details
  7. python: bumps: 0.7.10 -> 0.7.11

    FRidh committed Oct 13, 2018
    Copy the full SHA
    1c28b76 View commit details
  8. python: carbon: 1.1.3 -> 1.1.4

    FRidh committed Oct 13, 2018
    Copy the full SHA
    44c13b1 View commit details
  9. Copy the full SHA
    74b8eb5 View commit details
  10. Copy the full SHA
    7977097 View commit details
  11. python: cupy: 4.4.0 -> 4.4.1

    FRidh committed Oct 13, 2018
    Copy the full SHA
    ed721f8 View commit details
  12. python: cvxopt: 1.2.0 -> 1.2.1

    FRidh committed Oct 13, 2018
    Copy the full SHA
    094ea76 View commit details
  13. Copy the full SHA
    81298e4 View commit details
  14. Copy the full SHA
    83d47c5 View commit details
  15. Copy the full SHA
    e8783b8 View commit details
  16. Copy the full SHA
    0d11570 View commit details
  17. python: emoji: 0.5.0 -> 0.5.1

    FRidh committed Oct 13, 2018
    Copy the full SHA
    ec0d777 View commit details
  18. python: Eve: 0.8 -> 0.8.1

    FRidh committed Oct 13, 2018
    Copy the full SHA
    40446b2 View commit details
  19. Copy the full SHA
    f23d6af View commit details
  20. Copy the full SHA
    07a3f3f View commit details
  21. Copy the full SHA
    3fb78d4 View commit details
  22. python: genanki: 0.6.0 -> 0.6.3

    FRidh committed Oct 13, 2018
    Copy the full SHA
    9cef968 View commit details
  23. python: gpapi: 0.4.2 -> 0.4.3

    FRidh committed Oct 13, 2018
    Copy the full SHA
    08389e3 View commit details
  24. python: GPy: 1.9.2 -> 1.9.5

    FRidh committed Oct 13, 2018
    Copy the full SHA
    ab635c1 View commit details
  25. Copy the full SHA
    f1300da View commit details
Showing 671 changed files with 14,629 additions and 8,727 deletions.
17 changes: 13 additions & 4 deletions doc/functions/overrides.xml
Original file line number Diff line number Diff line change
@@ -6,8 +6,14 @@

<para>
Sometimes one wants to override parts of <literal>nixpkgs</literal>, e.g.
derivation attributes, the results of derivations or even the whole package
set.
derivation attributes, the results of derivations.
</para>

<para>
These functions are used to make changes to packages, returning only single
packages. <link xlink:href="#chap-overlays">Overlays</link>, on the other
hand, can be used to combine the overridden packages across the entire
package set of Nixpkgs.
</para>

<section xml:id="sec-pkg-override">
@@ -25,6 +31,9 @@
<para>
Example usages:
<programlisting>pkgs.foo.override { arg1 = val1; arg2 = val2; ... }</programlisting>
<!-- TODO: move below programlisting to a new section about extending and overlays
and reference it
-->
<programlisting>
import pkgs.path { overlays = [ (self: super: {
foo = super.foo.override { barSupport = true ; };
@@ -86,11 +95,11 @@ helloWithDebug = pkgs.hello.overrideAttrs (oldAttrs: rec {
in this case, as it overrides only the attributes of the final derivation.
It is for this reason that <varname>overrideAttrs</varname> should be
preferred in (almost) all cases to <varname>overrideDerivation</varname>,
i.e. to allow using <varname>sdenv.mkDerivation</varname> to process input
i.e. to allow using <varname>stdenv.mkDerivation</varname> to process input
arguments, as well as the fact that it is easier to use (you can use the
same attribute names you see in your Nix code, instead of the ones
generated (e.g. <varname>buildInputs</varname> vs
<varname>nativeBuildInputs</varname>, and involves less typing.
<varname>nativeBuildInputs</varname>), and it involves less typing).
</para>
</note>
</section>
191 changes: 111 additions & 80 deletions doc/overlays.xml
Original file line number Diff line number Diff line change
@@ -17,91 +17,122 @@
<title>Installing overlays</title>

<para>
The list of overlays is determined as follows.
The list of overlays can be set either explicitly in a Nix expression, or
through <literal>&lt;nixpkgs-overlays></literal> or user configuration
files.
</para>

<para>
If the <varname>overlays</varname> argument is not provided explicitly, we
look for overlays in a path. The path is determined as follows:
<orderedlist>
<listitem>
<para>
First, if an <varname>overlays</varname> argument to the nixpkgs function
itself is given, then that is used.
</para>
<para>
This can be passed explicitly when importing nipxkgs, for example
<literal>import &lt;nixpkgs> { overlays = [ overlay1 overlay2 ];
}</literal>.
</para>
</listitem>
<listitem>
<para>
Otherwise, if the Nix path entry <literal>&lt;nixpkgs-overlays></literal>
exists, we look for overlays at that path, as described below.
</para>
<para>
See the section on <literal>NIX_PATH</literal> in the Nix manual for more
details on how to set a value for
<literal>&lt;nixpkgs-overlays>.</literal>
</para>
</listitem>
<listitem>
<para>
If one of <filename>~/.config/nixpkgs/overlays.nix</filename> and
<filename>~/.config/nixpkgs/overlays/</filename> exists, then we look for
overlays at that path, as described below. It is an error if both exist.
</para>
</listitem>
</orderedlist>
</para>
<section xml:id="sec-overlays-argument">
<title>Set overlays in NixOS or Nix expressions</title>

<para>
If we are looking for overlays at a path, then there are two cases:
<itemizedlist>
<listitem>
<para>
If the path is a file, then the file is imported as a Nix expression and
used as the list of overlays.
</para>
</listitem>
<listitem>
<para>
If the path is a directory, then we take the content of the directory,
order it lexicographically, and attempt to interpret each as an overlay
by:
<itemizedlist>
<listitem>
<para>
Importing the file, if it is a <literal>.nix</literal> file.
</para>
</listitem>
<listitem>
<para>
Importing a top-level <filename>default.nix</filename> file, if it is
a directory.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
</itemizedlist>
</para>
<para>
On a NixOS system the value of the <literal>nixpkgs.overlays</literal>
option, if present, is passed to the system Nixpkgs directly as an
argument. Note that this does not affect the overlays for non-NixOS
operations (e.g. <literal>nix-env</literal>), which are
<link xlink:href="#sec-overlays-lookup">looked</link> up independently.
</para>

<para>
On a NixOS system the value of the <literal>nixpkgs.overlays</literal>
option, if present, is passed to the system Nixpkgs directly as an argument.
Note that this does not affect the overlays for non-NixOS operations (e.g.
<literal>nix-env</literal>), which are looked up independently.
</para>
<para>
The list of overlays can be passed explicitly when importing nixpkgs, for
example <literal>import &lt;nixpkgs> { overlays = [ overlay1 overlay2 ];
}</literal>.
</para>

<para>
The <filename>overlays.nix</filename> option therefore provides a convenient
way to use the same overlays for a NixOS system configuration and user
configuration: the same file can be used as
<filename>overlays.nix</filename> and imported as the value of
<literal>nixpkgs.overlays</literal>.
</para>
<para>
Further overlays can be added by calling the <literal>pkgs.extend</literal>
or <literal>pkgs.appendOverlays</literal>, although it is often preferable
to avoid these functions, because they recompute the Nixpkgs fixpoint,
which is somewhat expensive to do.
</para>
</section>

<section xml:id="sec-overlays-lookup">
<title>Install overlays via configuration lookup</title>

<para>
The list of overlays is determined as follows.
</para>

<para>
<orderedlist>
<listitem>
<para>
First, if an
<link xlink:href="#sec-overlays-argument"><varname>overlays</varname>
argument</link> to the nixpkgs function itself is given, then that is
used and no path lookup will be performed.
</para>
</listitem>
<listitem>
<para>
Otherwise, if the Nix path entry
<literal>&lt;nixpkgs-overlays></literal> exists, we look for overlays at
that path, as described below.
</para>
<para>
See the section on <literal>NIX_PATH</literal> in the Nix manual for
more details on how to set a value for
<literal>&lt;nixpkgs-overlays>.</literal>
</para>
</listitem>
<listitem>
<para>
If one of <filename>~/.config/nixpkgs/overlays.nix</filename> and
<filename>~/.config/nixpkgs/overlays/</filename> exists, then we look
for overlays at that path, as described below. It is an error if both
exist.
</para>
</listitem>
</orderedlist>
</para>

<para>
If we are looking for overlays at a path, then there are two cases:
<itemizedlist>
<listitem>
<para>
If the path is a file, then the file is imported as a Nix expression and
used as the list of overlays.
</para>
</listitem>
<listitem>
<para>
If the path is a directory, then we take the content of the directory,
order it lexicographically, and attempt to interpret each as an overlay
by:
<itemizedlist>
<listitem>
<para>
Importing the file, if it is a <literal>.nix</literal> file.
</para>
</listitem>
<listitem>
<para>
Importing a top-level <filename>default.nix</filename> file, if it is
a directory.
</para>
</listitem>
</itemizedlist>
</para>
</listitem>
</itemizedlist>
</para>

<para>
Because overlays that are set in NixOS configuration do not affect
non-NixOS operations such as <literal>nix-env</literal>, the
<filename>overlays.nix</filename> option provides a convenient way to use
the same overlays for a NixOS system configuration and user configuration:
the same file can be used as <filename>overlays.nix</filename> and imported
as the value of <literal>nixpkgs.overlays</literal>.
</para>

<!-- TODO: Example of sharing overlays between NixOS configuration
and configuration lookup. Also reference the example
from the sec-overlays-argument paragraph about NixOS.
-->
</section>
</section>
<!--============================================================-->
<section xml:id="sec-overlays-definition">
8 changes: 4 additions & 4 deletions doc/package-notes.xml
Original file line number Diff line number Diff line change
@@ -681,10 +681,10 @@ overrides = self: super: rec {
</para>

<para>
The python plugin allows the addition of extra libraries. For instance, the
<literal>inotify.py</literal> script in weechat-scripts requires D-Bus or
libnotify, and the <literal>fish.py</literal> script requires pycrypto. To
use these scripts, use the <literal>python</literal> plugin's
The python and perl plugins allows the addition of extra libraries. For
instance, the <literal>inotify.py</literal> script in weechat-scripts
requires D-Bus or libnotify, and the <literal>fish.py</literal> script
requires pycrypto. To use these scripts, use the plugin's
<literal>withPackages</literal> attribute:
<programlisting>weechat.override { configure = {availablePlugins, ...}: {
plugins = with availablePlugins; [
15 changes: 10 additions & 5 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -158,6 +158,11 @@
github = "alexanderkjeldaas";
name = "Alexander Kjeldaas";
};
akavel = {
email = "czapkofan@gmail.com";
github = "akavel";
name = "Mateusz Czapliński";
};
akaWolf = {
email = "akawolf0@gmail.com";
github = "akaWolf";
@@ -3636,6 +3641,11 @@
github = "roosemberth";
name = "Roosembert (Roosemberth) Palacios";
};
royneary = {
email = "christian@ulrich.earth";
github = "royneary";
name = "Christian Ulrich";
};
rprospero = {
email = "rprospero+nix@gmail.com";
github = "rprospero";
@@ -4148,11 +4158,6 @@
github = "tazjin";
name = "Vincent Ambo";
};
TealG = {
email = "~@Teal.Gr";
github = "TealG";
name = "Teal Gaure";
};
teh = {
email = "tehunger@gmail.com";
github = "teh";
7 changes: 7 additions & 0 deletions nixos/doc/manual/release-notes/rl-1903.xml
Original file line number Diff line number Diff line change
@@ -130,6 +130,13 @@
were removed. They were never used for anything and can therefore safely be removed.
</para>
</listitem>
<listitem>
<para>
Package <literal>wasm</literal> has been renamed <literal>proglodyte-wasm</literal>. The package
<literal>wasm</literal> will be pointed to <literal>ocamlPackages.wasm</literal> in 19.09, so
make sure to update your configuration if you want to keep <literal>proglodyte-wasm</literal>
</para>
</listitem>
</itemizedlist>
</section>

2 changes: 1 addition & 1 deletion nixos/modules/misc/ids.nix
Original file line number Diff line number Diff line change
@@ -385,7 +385,7 @@
virtuoso = 44;
#rtkit = 45; # unused
dovecot2 = 46;
#dovenull = 47; # unused
dovenull2 = 47;
prayer = 49;
mpd = 50;
clamav = 51;
1 change: 0 additions & 1 deletion nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -108,7 +108,6 @@
./programs/oblogout.nix
./programs/plotinus.nix
./programs/qt5ct.nix
./programs/rootston.nix
./programs/screen.nix
./programs/sedutil.nix
./programs/slock.nix
Loading