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: 58fb23f72ad9
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: 636a13528287
Choose a head ref

Commits on Oct 5, 2018

  1. nixos manual: releases workflow improvements

    - `git push --tags` is too dangerous (pushes all your tags)
    vcunat authored and samueldr committed Oct 5, 2018
    Copy the full SHA
    dd82f6c View commit details
  2. Copy the full SHA
    4f43e5f View commit details

Commits on Sep 2, 2019

  1. Copy the full SHA
    c09e02a View commit details
  2. remove a few boost overrides optimistically

    Build-tested the changes packages.
    
    May be more that can be cleaned up.
    dtzWill authored and disassembler committed Sep 2, 2019
    Copy the full SHA
    e74d575 View commit details

Commits on Sep 26, 2019

  1. generic/setup.sh: Unset locally defined variables

    setup.sh adds a bunch of variables that only it needs. To avoid
    polluting environments, we should unset these as soon as we are done
    with them.
    matthewbauer committed Sep 26, 2019
    Copy the full SHA
    1601a7f View commit details

Commits on Oct 4, 2019

  1. openvswitch: 2.5.4 -> 2.12.0

    Openvswitch was upgraded to the latest
    stable version (currenty 2.12.0). This remove ovs-monitor-ipsec
    commands.
    
    LTS version is still available using
    `config.virtualisation.vswitch.package = pkgs.openvswitch-lts`
    it has been upgraded to 2.5.6.
    
    This commit is a split from the original PR #35127.
    netixx committed Oct 4, 2019
    Copy the full SHA
    e8e980e View commit details
  2. Copy the full SHA
    e494de2 View commit details
  3. Copy the full SHA
    fadd37b View commit details

Commits on Oct 19, 2019

  1. Copy the full SHA
    6a600b1 View commit details

Commits on Oct 20, 2019

  1. unzip: CVE-2019-13232

    thorstenweber83 committed Oct 20, 2019
    Copy the full SHA
    4d33b41 View commit details

Commits on Oct 23, 2019

  1. libsForQt5.phonon: 4.10.3 -> 4.11.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/phonon-qt5/versions
    r-ryantm committed Oct 23, 2019
    Copy the full SHA
    1d1cbbc View commit details

Commits on Oct 27, 2019

  1. Merge branch 'master' into release-docs

    It's been a very long time, so I think a merge will be better than
    a rebase.  There was only one simple conflict.
    vcunat committed Oct 27, 2019
    Copy the full SHA
    d9c5d58 View commit details

Commits on Oct 29, 2019

  1. sudo: 1.8.28 -> 1.8.29

    https://www.sudo.ws/stable.html#1.8.29
    
    Build tweak: fix build failure when attempting to check that
    the "existing" sudoers file on $out/etc/sudoers parses clean--
    this update changed precondition for this test to check if
    DESTDIR is non-empty instead of previous behavior
    "does the file exist".
    dtzWill committed Oct 29, 2019
    Copy the full SHA
    640677c View commit details

Commits on Oct 30, 2019

  1. Copy the full SHA
    384e59a View commit details

Commits on Nov 1, 2019

  1. common setup hooks: set -u robustness

    Explicitly handle `dont*` and friends not being defined.
    Ericson2314 committed Nov 1, 2019
    Copy the full SHA
    43a9886 View commit details
  2. bintools-wrapper: Don't stop set -u-ing

    Same justification as previous commit.
    Ericson2314 committed Nov 1, 2019
    Copy the full SHA
    545e751 View commit details
  3. Copy the full SHA
    d21a660 View commit details
  4. Copy the full SHA
    3835442 View commit details
  5. Copy the full SHA
    1290e53 View commit details
  6. treewide: Make still dont* Variables are optional in most cases

    Go beyond the obvious setup hooks now, with a bit of sed, with a skipped case:
    
     - cc-wrapper's `dontlink`, because it already is handled.
    
    Also, in nix files escaping was manually added.
    
    EMP
    Ericson2314 committed Nov 1, 2019
    Copy the full SHA
    2811b03 View commit details
  7. Copy the full SHA
    7eecf4f View commit details
  8. treewide: *Phase(s)? variables are optional

    If these aren't defined, the stdenv defaults are used in the `*Phase`
    case, or no extra phases are done, in the `*Phases` case.
    Ericson2314 committed Nov 1, 2019
    Copy the full SHA
    b7f4bda View commit details
  9. Copy the full SHA
    45e5e68 View commit details
  10. ec2/create-amis.sh: register root device as /dev/xvda

    For the case of blkfront drives, there appears to be no difference
    between /dev/sda1 and /dev/xvda: the drive always appears as the
    kernel device /dev/xvda.
    
    For the case of nvme drives, the root device typically appears as
    /dev/nvme0n1.  Amazon provides the 'ec2-utils' package for their first
    party linux ("Amazon Linux"), which configures udev to create symlinks
    from the provided name to the nvme device name. This name is
    communicated through nvme "Identify Controller" response, which can be
    inspected with:
    
      nvme id-ctrl --raw-binary /dev/nvme0n1 | cut -c3073-3104 | hexdump -C
    
    On Amazon Linux, where the device is attached as "/dev/xvda", this
    creates:
    
    - /dev/xvda  -> nvme0n1
    - /dev/xvda1 -> nvme0n1p1
    
    On NixOS where the device is attach as "/dev/sda1", this creates:
    
    - /dev/sda1  -> nvme0n1
    - /dev/sda11 -> nvme0n1p1
    
    This is odd, but not inherently a problem.
    
    NixOS unconditionally configures grub to install to `/dev/xvda`, which
    fails on an instance using nvme storage. With the root device name set
    to xvda, both blkfront and nvme drives are accessible as /dev/xvda,
    either directly or by symlink.
    thefloweringash committed Nov 1, 2019
    Copy the full SHA
    bd61216 View commit details
  11. Copy the full SHA
    373236c View commit details
  12. stdenv: Don't stop set -u-ing

    Before, we very carefully unapplied and reapplied `set -u` so the rest
    of Nixpkgs could continue to not fail on undefined variables. Let's rip
    off the band-aid.
    Ericson2314 committed Nov 1, 2019
    Copy the full SHA
    9df7efe View commit details

Commits on Nov 2, 2019

  1. Copy the full SHA
    0d691d1 View commit details
  2. mpg123: 1.25.12 -> 1.25.13

    r-ryantm committed Nov 2, 2019
    Copy the full SHA
    d254966 View commit details
  3. gnugp: adding option for minimal build

    Basically a flavour of gnugpg, which solely containts `bin/gnupg`.
    wucke13 committed Nov 2, 2019
    Copy the full SHA
    d1270ac View commit details
  4. systemd: adding support for systemd-importd

    Adding `systemd-importd` to the build, so that `machinectl`s `import-.*`
    may actually do anything. Currently they fail with
    
    ```
    Failed to transfer image: The name org.freedesktop.import1 was not provided by any .service files
    ```
    as `systemd-importd` is not built. Also registers the regarding dbus
    api and service in the systemd module.
    wucke13 committed Nov 2, 2019
    Copy the full SHA
    29ac226 View commit details
  5. qtbase-setup-hook: postPhases may be undefined

    My earlier sed missed this because it already had `{..}`.
    Ericson2314 committed Nov 2, 2019
    Copy the full SHA
    9b274e2 View commit details

Commits on Nov 3, 2019

  1. vim: 8.1.2188 -> 8.1.2237

    r-ryantm committed Nov 3, 2019
    Copy the full SHA
    02c3bce View commit details
  2. nixosTests.systemd-nspawn: add test

    This adds a test downloading an nspawn container via http, and ensures
    sha256sum verification and gpg signature verification work.
    flokli committed Nov 3, 2019
    Copy the full SHA
    52ed193 View commit details
  3. Copy the full SHA
    e88fb2d View commit details
  4. Copy the full SHA
    d1d3807 View commit details
  5. git: drop extraneous sysconfdir trailing slash

    I noticed while strace-ing that Git was trying to open
    /etc//gitconfig.  Not a big deal, but it is definitely more correct
    without the trailing slash.
    alyssais committed Nov 3, 2019
    Copy the full SHA
    4b63c91 View commit details

Commits on Nov 4, 2019

  1. Merge pull request #72745 from alyssais/git-slash

    git: drop extraneous sysconfdir trailing slash
    wmertens authored Nov 4, 2019
    Copy the full SHA
    32e3f4a View commit details
  2. Copy the full SHA
    57a9ba0 View commit details
  3. Copy the full SHA
    ddc35b1 View commit details
  4. git: 2.23.0 -> 2.24.0

    NeQuissimus committed Nov 4, 2019
    Copy the full SHA
    0a9e548 View commit details

Commits on Nov 5, 2019

  1. multiple-outputs setup hook: Remove accidentally added tab

    I don't want to just rebase this away because the original commit is
    also in #72074.
    Ericson2314 committed Nov 5, 2019
    Copy the full SHA
    c5cf009 View commit details
  2. Merge pull request #72347 from NixOS/bash-no-undef-vars

    treewide: `set -u` everywhere
    Ericson2314 authored Nov 5, 2019
    Copy the full SHA
    acd2d19 View commit details
  3. Copy the full SHA
    fae8d26 View commit details
  4. Copy the full SHA
    49afaab View commit details
  5. Copy the full SHA
    c4e30cf View commit details
  6. Merge pull request #72262 from dtzWill/update/sudo-1.8.29

    sudo: 1.8.28 -> 1.8.29
    dtzWill authored Nov 5, 2019
    Copy the full SHA
    4db1cae View commit details
  7. Merge pull request #70352 from wucke13/systemd-importd

    systemd: add systemd-importd
    flokli authored Nov 5, 2019
    Copy the full SHA
    c3566c7 View commit details
  8. gcr: Clean up

    * Format with nixpkgs-format
    * Correct license
    * Explicitly specify patched shebangs
    * Build in parallel
    * Drop unnecessary dependencies
    jtojnar committed Nov 5, 2019
    Copy the full SHA
    b7b3d3a View commit details
  9. Copy the full SHA
    03f7753 View commit details
  10. Copy the full SHA
    901e851 View commit details
Showing 791 changed files with 9,396 additions and 6,379 deletions.
8 changes: 8 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -47,6 +47,9 @@
/nixos/doc/manual/man-nixos-option.xml @nbp
/nixos/modules/installer/tools/nixos-option.sh @nbp

# NixOS integration test driver
/nixos/lib/test-driver @tfc

# New NixOS modules
/nixos/modules/module-list.nix @Infinisil

@@ -167,3 +170,8 @@
/nixos/modules/services/monitoring/prometheus/exporters.nix @WilliButz
/nixos/modules/services/monitoring/prometheus/exporters.xml @WilliButz
/nixos/tests/prometheus-exporters.nix @WilliButz

# PHP
/pkgs/development/interpreters/php @etu
/pkgs/top-level/php-packages.nix @etu
/pkgs/build-support/build-pecl.nix @etu
11 changes: 5 additions & 6 deletions doc/using/configuration.xml
Original file line number Diff line number Diff line change
@@ -141,11 +141,10 @@
For a more useful example, try the following. This configuration only allows unfree packages named flash player and visual studio code:
<programlisting>
{
allowUnfreePredicate = (pkg: builtins.elem
(pkg.pname or (builtins.parseDrvName pkg.name).name) [
"flashplayer"
"vscode"
]);
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"flashplayer"
"vscode"
];
}
</programlisting>
</para>
@@ -217,7 +216,7 @@
The following configuration example only allows insecure packages with very short names:
<programlisting>
{
allowInsecurePredicate = (pkg: (builtins.stringLength (builtins.parseDrvName pkg.name).name) &lt;= 5);
allowInsecurePredicate = pkg: builtins.stringLength (lib.getName pkg) &lt;= 5;
}
</programlisting>
</para>
3 changes: 2 additions & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
@@ -84,7 +84,8 @@ let
hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape
escapeShellArg escapeShellArgs replaceChars lowerChars
upperChars toLower toUpper addContextFrom splitString
removePrefix removeSuffix versionOlder versionAtLeast getVersion
removePrefix removeSuffix versionOlder versionAtLeast
getName getVersion
nameFromURL enableFeature enableFeatureAs withFeature
withFeatureAs fixedWidthString fixedWidthNumber isStorePath
toInt readPathsFromFile fileContents;
17 changes: 17 additions & 0 deletions lib/strings.nix
Original file line number Diff line number Diff line change
@@ -472,6 +472,23 @@ rec {
*/
versionAtLeast = v1: v2: !versionOlder v1 v2;

/* This function takes an argument that's either a derivation or a
derivation's "name" attribute and extracts the name part from that
argument.
Example:
getName "youtube-dl-2016.01.01"
=> "youtube-dl"
getName pkgs.youtube-dl
=> "youtube-dl"
*/
getName = x:
let
parse = drv: (builtins.parseDrvName drv).name;
in if isString x
then parse x
else x.pname or (parse x.name);

/* This function takes an argument that's either a derivation or a
derivation's "name" attribute and extracts the version part from that
argument.
1 change: 1 addition & 0 deletions lib/systems/default.nix
Original file line number Diff line number Diff line change
@@ -37,6 +37,7 @@ rec {
else if final.isAndroid then "bionic"
else if final.isLinux /* default */ then "glibc"
else if final.isMsp430 then "newlib"
else if final.isVc4 then "newlib"
else if final.isAvr then "avrlibc"
else if final.isNetBSD then "nblibc"
# TODO(@Ericson2314) think more about other operating systems
3 changes: 2 additions & 1 deletion lib/systems/doubles.nix
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ let

"riscv32-linux" "riscv64-linux"

"aarch64-none" "avr-none" "arm-none" "i686-none" "x86_64-none" "powerpc-none" "msp430-none" "riscv64-none" "riscv32-none"
"aarch64-none" "avr-none" "arm-none" "i686-none" "x86_64-none" "powerpc-none" "msp430-none" "riscv64-none" "riscv32-none" "vc4-none"
];

allParsed = map parse.mkSystemFromString all;
@@ -45,6 +45,7 @@ in {
x86_64 = filterDoubles predicates.isx86_64;
mips = filterDoubles predicates.isMips;
riscv = filterDoubles predicates.isRiscV;
vc4 = filterDoubles predicates.isVc4;

cygwin = filterDoubles predicates.isCygwin;
darwin = filterDoubles predicates.isDarwin;
6 changes: 6 additions & 0 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
@@ -118,6 +118,12 @@ rec {
config = "avr";
};

vc4 = {
config = "vc4-elf";
libc = "newlib";
platform = {};
};

arm-embedded = {
config = "arm-none-eabi";
libc = "newlib";
1 change: 1 addition & 0 deletions lib/systems/inspect.nix
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@ rec {
isSparc = { cpu = { family = "sparc"; }; };
isWasm = { cpu = { family = "wasm"; }; };
isMsp430 = { cpu = { family = "msp430"; }; };
isVc4 = { cpu = { family = "vc4"; }; };
isAvr = { cpu = { family = "avr"; }; };
isAlpha = { cpu = { family = "alpha"; }; };
isJavaScript = { cpu = cpuTypes.js; };
2 changes: 2 additions & 0 deletions lib/systems/parse.nix
Original file line number Diff line number Diff line change
@@ -112,6 +112,8 @@ rec {
msp430 = { bits = 16; significantByte = littleEndian; family = "msp430"; };
avr = { bits = 8; family = "avr"; };

vc4 = { bits = 32; significantByte = littleEndian; family = "vc4"; };

js = { bits = 32; significantByte = littleEndian; family = "js"; };
};

55 changes: 54 additions & 1 deletion maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -1484,6 +1484,16 @@
}
];
};
d-goldin = {
email = "dgoldin+github@protonmail.ch";
github = "d-goldin";
githubId = 43349662;
name = "Dima";
keys = [{
longkeyid = "rsa4096/BAB1D15FB7B4D4CE";
fingerprint = "1C4E F4FE 7F8E D8B7 1E88 CCDF BAB1 D15F B7B4 D4CE";
}];
};
dadada = {
name = "dadada";
email = "dadada@dadada.li";
@@ -1780,6 +1790,12 @@
githubId = 875324;
name = "David Johnson";
};
dmrauh = {
email = "dmrauh@posteo.de";
github = "dmrauh";
githubId = 37698547;
name = "Dominik Michael Rauh";
};
dmvianna = {
email = "dmlvianna@gmail.com";
github = "dmvianna";
@@ -2515,6 +2531,7 @@
gazally = {
email = "gazally@runbox.com";
github = "gazally";
githubId = 16470252;
name = "Gemini Lasswell";
};
gebner = {
@@ -3594,6 +3611,12 @@
github = "klntsky";
githubId = 18447310;
};
kmcopper = {
email = "kmcopper@danwin1210.me";
name = "Kyle Copperfield";
github = "kmcopper";
githubId = 57132115;
};
kmeakin = {
email = "karlwfmeakin@gmail.com";
name = "Karl Meakin";
@@ -3700,6 +3723,18 @@
githubId = 449813;
name = "Roman Kuznetsov";
};
kylesferrazza = {
name = "Kyle Sferrazza";
email = "kyle.sferrazza@gmail.com";

github = "kylesferrazza";
githubId = 6677292;

keys = [{
longkeyid = "rsa4096/81A1540948162372";
fingerprint = "5A9A 1C9B 2369 8049 3B48 CF5B 81A1 5409 4816 2372";
}];
};
kylewlacy = {
email = "kylelacy+nix@pm.me";
github = "kylewlacy";
@@ -4466,6 +4501,12 @@
githubId = 16974598;
name = "Mike Playle";
};
mkaito = {
email = "chris@mkaito.net";
github = "mkaito";
githubId = 20434;
name = "Christian Höppner";
};
mkazulak = {
email = "kazulakm@gmail.com";
github = "mulderr";
@@ -4505,6 +4546,12 @@
githubId = 117842;
name = "Henri Bourcereau";
};
mmilata = {
email = "martin@martinmilata.cz";
github = "mmilata";
gitHubId = 85857;
name = "Martin Milata";
};
mmlb = {
email = "me.mmlb@mmlb.me";
github = "mmlb";
@@ -6087,7 +6134,7 @@
name = "Shahrukh Khan";
};
shanemikel = {
email = "shanemikel1@gmail.com";
email = "shanepearlman@pm.me";
github = "shanemikel";
githubId = 6720672;
name = "Shane Pearlman";
@@ -6708,6 +6755,12 @@
githubId = 42933;
name = "Andrew Childs";
};
thefenriswolf = {
email = "stefan.rohrbacher97@gmail.com";
github = "thefenriswolf";
githubId = "8547242";
name = "Stefan Rohrbacher";
};
thesola10 = {
email = "thesola10@bobile.fr";
github = "thesola10";
2 changes: 1 addition & 1 deletion maintainers/scripts/update.nix
Original file line number Diff line number Diff line change
@@ -126,7 +126,7 @@ let

packageData = package: {
name = package.name;
pname = (builtins.parseDrvName package.name).name;
pname = pkgs.lib.getName package;
updateScript = map builtins.toString (pkgs.lib.toList package.updateScript);
};

4 changes: 1 addition & 3 deletions nixos/doc/manual/configuration/profiles/graphical.xml
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@
<para>
It sets <xref linkend="opt-services.xserver.enable"/>,
<xref linkend="opt-services.xserver.displayManager.sddm.enable"/>,
<xref linkend="opt-services.xserver.desktopManager.plasma5.enable"/> (
<link linkend="opt-services.xserver.desktopManager.plasma5.enableQt4Support">
without Qt4 Support</link>), and
<xref linkend="opt-services.xserver.desktopManager.plasma5.enable"/>, and
<xref linkend="opt-services.xserver.libinput.enable"/> to true. It also
includes glxinfo and firefox in the system packages list.
</para>
21 changes: 12 additions & 9 deletions nixos/doc/manual/development/releases.xml
Original file line number Diff line number Diff line change
@@ -45,12 +45,12 @@
<listitem>
<para>
<literal>git tag -a -s -m &quot;Release 17.09-beta&quot; 17.09-beta
&amp;&amp; git push --tags</literal>
&amp;&amp; git push origin 17.09-beta</literal>
</para>
</listitem>
<listitem>
<para>
From the master branch run <literal>git checkout -B
From the master branch run <literal>git checkout -b
release-17.09</literal>.
</para>
</listitem>
@@ -157,7 +157,7 @@
<listitem>
<para>
Release Nix (currently only Eelco Dolstra can do that).
<link xlink:href="https://github.com/NixOS/nixpkgs/commit/53710c752a85f00658882531bc90a23a3d1287e4">
<link xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/installer/tools/nix-fallback-paths.nix">
Make sure fallback is updated. </link>
</para>
</listitem>
@@ -169,8 +169,8 @@
</listitem>
<listitem>
<para>
Change <literal>stableBranch</literal> to true and wait for channel to
update.
Change <literal>stableBranch</literal> to <literal>true</literal> in Hydra and wait for
the channel to update.
</para>
</listitem>
</itemizedlist>
@@ -193,9 +193,11 @@
</listitem>
<listitem>
<para>
Update http://nixos.org/nixos/download.html and
http://nixos.org/nixos/manual in
https://github.com/NixOS/nixos-org-configurations
Update the
<link xlink:href="https://github.com/NixOS/nixos-homepage/commit/2a37975d5a617ecdfca94696242b6f32ffcba9f1"><code>NIXOS_SERIES</code></link>
in the
<link xlink:href="https://github.com/NixOS/nixos-homepage">nixos-homepage</link>
repository.
</para>
</listitem>
<listitem>
@@ -212,7 +214,8 @@
</listitem>
<listitem>
<para>
Send an email to nix-dev to announce the release with above information.
Create a new topic on <link xlink:href="https://discourse.nixos.org/">the
Discourse instance</link> to announce the release with the above information.
Best to check how previous email was formulated to see what needs to be
included.
</para>
14 changes: 7 additions & 7 deletions nixos/doc/manual/installation/installing.xml
Original file line number Diff line number Diff line change
@@ -392,11 +392,11 @@
<filename>hardware-configuration.nix</filename> is included from
<filename>configuration.nix</filename> and will be overwritten by future
invocations of <command>nixos-generate-config</command>; thus, you
generally should not modify it.) Additionally, you may want to look at
generally should not modify it.) Additionally, you may want to look at
<link xlink:href="https://github.com/NixOS/nixos-hardware">Hardware
configuration for known-hardware</link> at this point or after
installation.

</para>
<note>
<para>
@@ -418,11 +418,11 @@
Do the installation:
<screen>
<prompt># </prompt>nixos-install</screen>
Cross fingers. If this fails due to a temporary problem (such as a network
issue while downloading binaries from the NixOS binary cache), you can
just re-run <command>nixos-install</command>. Otherwise, fix your
<filename>configuration.nix</filename> and then re-run
<command>nixos-install</command>.
This will install your system based on the configuration you provided.
If anything fails due to a configuration problem or any other issue
(such as a network outage while downloading binaries from the NixOS
binary cache), you can re-run <command>nixos-install</command> after
fixing your <filename>configuration.nix</filename>.
</para>
<para>
As the last step, <command>nixos-install</command> will ask you to set the
Loading