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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2e6fb229923c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1ab03c3a76dd
Choose a head ref

Commits on Mar 5, 2020

  1. standardnotes: 3.0.15 -> 3.3.3

    Bignaux Ronan committed Mar 5, 2020
    Copy the full SHA
    b316cec View commit details
  2. Copy the full SHA
    e01ce7f View commit details

Commits on Mar 8, 2020

  1. Copy the full SHA
    95a968c View commit details
  2. junicode: change license to OFL

    Both the project page ([1], third paragraph) and the
    documentation ([2], second-to-last paragraph on the last page)
    indicate that the font is available under SIL OFL.
    
    [1]: http://junicode.sourceforge.net/
    [2]: http://junicode.sourceforge.net/Junicode.pdf
    ivan-timokhin committed Mar 8, 2020
    Copy the full SHA
    df082cc View commit details

Commits on Mar 9, 2020

  1. libwebsockets: 3.2.0 -> 3.2.2; init as 4.0.0

    volth committed Mar 9, 2020
    Copy the full SHA
    471ca12 View commit details

Commits on Mar 20, 2020

  1. sane-airscan: init at 0.9.17

    zaninime committed Mar 20, 2020
    Copy the full SHA
    af7de69 View commit details

Commits on Mar 26, 2020

  1. Copy the full SHA
    3752bfd View commit details
  2. Copy the full SHA
    00e7a67 View commit details

Commits on Mar 27, 2020

  1. Copy the full SHA
    f59aa66 View commit details

Commits on Mar 28, 2020

  1. iso-image: normalize volumeID

    The volumeID will now be in the format of:
    nixos-$EDITON-$RELEASE-$ARCH
    
    an example for the minimal image would look like:
    nixos-minimal-20.09-x86-64-linux
    worldofpeace committed Mar 28, 2020
    Copy the full SHA
    70a8e9a View commit details
  2. Copy the full SHA
    591e8d5 View commit details

Commits on Mar 31, 2020

  1. Add shortenPerlShebang for starman on darwin

    Evgenii Akentev committed Mar 31, 2020
    Copy the full SHA
    902dbdd View commit details

Commits on Apr 1, 2020

  1. Copy the full SHA
    aaa2d67 View commit details
  2. zabbix: 4.0.18 -> 4.0.19

    aanderse committed Apr 1, 2020
    Copy the full SHA
    25e2908 View commit details
  3. zabbix: 4.4.6 -> 4.4.7

    aanderse committed Apr 1, 2020
    Copy the full SHA
    1c35aac View commit details
  4. quilter: 2.1.2 -> 2.2.2

    r-ryantm committed Apr 1, 2020
    Copy the full SHA
    d9beb0b View commit details

Commits on Apr 2, 2020

  1. reason: 3.5.4 → 3.6.0

    vbgl committed Apr 2, 2020
    Copy the full SHA
    6fa7355 View commit details
  2. nfs-utils: Add enablePython argument

    If turned off, all binaries that need python are excluded
    
    With the argument disabled, this reduces closure size from 219.5M to
    160.3M
    infinisil committed Apr 2, 2020
    Copy the full SHA
    848ed26 View commit details
  3. Copy the full SHA
    12c1fdd View commit details

Commits on Apr 3, 2020

  1. Copy the full SHA
    d2556f0 View commit details
  2. conmon: update maintainers

    zowoq committed Apr 3, 2020
    Copy the full SHA
    6f052a9 View commit details
  3. crun: update maintainers

    zowoq committed Apr 3, 2020
    Copy the full SHA
    f85106b View commit details
  4. podman: update maintainers

    zowoq committed Apr 3, 2020
    Copy the full SHA
    edd336f View commit details
  5. runc: update maintainers

    zowoq committed Apr 3, 2020
    Copy the full SHA
    163d905 View commit details
  6. buildah: update maintainers

    zowoq committed Apr 3, 2020
    Copy the full SHA
    2af7c9c View commit details
  7. skopeo: update maintainers

    zowoq committed Apr 3, 2020
    Copy the full SHA
    878589a View commit details
  8. Copy the full SHA
    ab00d36 View commit details
  9. Copy the full SHA
    4bbd415 View commit details
  10. bundler: 1.17.3 -> 2.1.4

    manveru committed Apr 3, 2020
    Copy the full SHA
    a2e73b0 View commit details

Commits on Apr 4, 2020

  1. libwebsockets_4_0: 4.0.0 -> 4.0.1

    volth authored Apr 4, 2020
    Copy the full SHA
    0f2d390 View commit details
  2. Copy the full SHA
    b3b95ad View commit details
  3. Copy the full SHA
    63a2dca View commit details
  4. Copy the full SHA
    9c7dc00 View commit details
  5. Copy the full SHA
    cc41ff0 View commit details
  6. stig: fix build

    marsam committed Apr 4, 2020
    Copy the full SHA
    5b17f17 View commit details
  7. Copy the full SHA
    204d7bc View commit details
  8. tut: init at 0.0.2

    equirosa committed Apr 4, 2020
    Copy the full SHA
    20f9dae View commit details

Commits on Apr 5, 2020

  1. Copy the full SHA
    d2ba3fb View commit details
  2. Copy the full SHA
    ceaf6f1 View commit details
  3. asymptote: 2.63 -> 2.65

    r-ryantm committed Apr 5, 2020
    Copy the full SHA
    f29fd4d View commit details
  4. Copy the full SHA
    be2f9a3 View commit details
  5. Copy the full SHA
    d161f64 View commit details
  6. freetds: 1.1.6 -> 1.1.26

    r-ryantm committed Apr 5, 2020
    Copy the full SHA
    e4d322f View commit details
  7. gl2ps: 1.4.0 -> 1.4.1

    r-ryantm committed Apr 5, 2020
    Copy the full SHA
    410db9e View commit details
  8. Copy the full SHA
    7db64c4 View commit details
  9. Copy the full SHA
    faf79b6 View commit details
  10. Copy the full SHA
    1118080 View commit details
  11. Copy the full SHA
    8272ebe View commit details
  12. Copy the full SHA
    408de50 View commit details
  13. hopper: 4.5.21 -> 4.5.22

    r-ryantm committed Apr 5, 2020
    Copy the full SHA
    26ff0ff View commit details
Showing 576 changed files with 6,932 additions and 4,926 deletions.
2 changes: 1 addition & 1 deletion doc/stdenv/multiple-output.xml
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@
</para>

<para>
The reason for why <literal>glibc</literal> deviates from the convention is because referencing a library provided by <literal>glibc</literal> is a very common operation among Nix packages. For instance, third-party executables packaged by Nix are typically patched and relinked with the relevant version of <literal>glibc</literal> libraries from Nix packages (please see the documentation on <link xlink:href="https://nixos.org/patchelf.html">patchelf</link> for more details).
The reason for why <literal>glibc</literal> deviates from the convention is because referencing a library provided by <literal>glibc</literal> is a very common operation among Nix packages. For instance, third-party executables packaged by Nix are typically patched and relinked with the relevant version of <literal>glibc</literal> libraries from Nix packages (please see the documentation on <link xlink:href="https://github.com/NixOS/patchelf/blob/master/README">patchelf</link> for more details).
</para>
</section>

2 changes: 1 addition & 1 deletion lib/default.nix
Original file line number Diff line number Diff line change
@@ -141,7 +141,7 @@ let
mergeAttrsWithFunc mergeAttrsConcatenateValues
mergeAttrsNoOverride mergeAttrByFunc mergeAttrsByFuncDefaults
mergeAttrsByFuncDefaultsClean mergeAttrBy
fakeSha256 fakeSha512
fakeSri fakeSha256 fakeSha512
nixType imap;
inherit (versions)
splitVersion;
1 change: 1 addition & 0 deletions lib/deprecated.nix
Original file line number Diff line number Diff line change
@@ -272,6 +272,7 @@ rec {
imap = imap1;

# Fake hashes. Can be used as hash placeholders, when computing hash ahead isn't trivial
fakeSri = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
fakeSha256 = "0000000000000000000000000000000000000000000000000000000000000000";
fakeSha512 = "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
}
29 changes: 29 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -3239,6 +3239,12 @@
githubId = 4458;
name = "Ivan Kozik";
};
ivan-timokhin = {
email = "nixpkgs@ivan.timokhin.name";
name = "Ivan Timokhin";
github = "ivan-timokhin";
githubId = 9802104;
};
ivan-tkatchev = {
email = "tkatchev@gmail.com";
name = "Ivan Tkatchev";
@@ -5600,6 +5606,12 @@
githubId = 101514;
name = "Orivej Desh";
};
oro = {
email = "marco@orovecchia.at";
github = "oro";
githubId = 357005;
name = "Marco Orovecchia";
};
osener = {
email = "ozan@ozansener.com";
github = "osener";
@@ -6527,6 +6539,12 @@
githubId = 766350;
name = "Richard Zetterberg";
};
s1341 = {
email = "s1341@shmarya.net";
name = "Shmarya Rubenstein";
github = "s1341";
githubId = 5682183;
};
samdoshi = {
email = "sam@metal-fish.co.uk";
github = "samdoshi";
@@ -8203,6 +8221,11 @@
fingerprint = "85F8 E850 F8F2 F823 F934 535B EC50 6589 9AEA AF4C";
}];
};
yvesf = {
email = "yvesf+nix@xapek.org";
github = "yvesf";
name = "Yves Fischer";
};
yvt = {
email = "i@yvt.jp";
github = "yvt";
@@ -8403,4 +8426,10 @@
github = "ymeister";
githubId = 47071325;
};
cpcloud = {
name = "Phillip Cloud";
email = "417981+cpcloud@users.noreply.github.com";
github = "cpcloud";
githubId = 417981;
};
}
9 changes: 9 additions & 0 deletions maintainers/team-list.nix
Original file line number Diff line number Diff line change
@@ -30,4 +30,13 @@ with lib.maintainers; {
];
scope = "Maintain GNOME desktop environment and platform.";
};

podman = {
members = [
saschagrunert
vdemeester
zowoq
];
scope = "Maintain podman related packages.";
};
}
37 changes: 33 additions & 4 deletions nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -75,6 +75,24 @@ services.xserver.displayManager.defaultSession = "xfce+icewm";
</programlisting>
</para>
</listitem>
<listitem>
<para>
The testing driver implementation in NixOS is now in Python <filename>make-test-python.nix</filename>.
This was done by Jacek Galowicz (<link xlink:href="https://github.com/tfc">@tfc</link>), and with the
collaboration of Julian Stecklina (<link xlink:href="https://github.com/blitz">@blitz</link>) and
Jana Traue (<link xlink:href="https://github.com/jtraue">@jtraue</link>). All documentation has been updated to use this
testing driver, and a vast majority of the 286 tests in NixOS were ported to python driver. In 20.09 the Perl driver implementation,
<filename>make-test.nix</filename>, is slated for removal. This should give users of the NixOS integration framework
a transitory period to rewrite their tests to use the Python implementation. Users of the Perl driver will see
this warning everytime they use it:
<screen>
<prompt>$ </prompt>warning: Perl VM tests are deprecated and will be removed for 20.09.
Please update your tests to use the python test driver.
See https://github.com/NixOS/nixpkgs/pull/71684 for details.
</screen>
API compatibility is planned to be kept for at least the next release with the perl driver.
</para>
</listitem>
</itemizedlist>
</section>

@@ -127,6 +145,17 @@ services.xserver.displayManager.defaultSession = "xfce+icewm";
</para>

<itemizedlist>
<listitem>
<para>
The <package>dhcpcd</package> package <link xlink:href="https://roy.marples.name/archives/dhcpcd-discuss/0002621.html">
does not request IPv4 addresses for tap and bridge interfaces anymore by default</link>.
In order to still get an address on a bridge interface, one has to disable
<literal>networking.useDHCP</literal> and explicitly enable
<literal>networking.interfaces.&lt;name&gt;.useDHCP</literal> on
every interface, that should get an address via DHCP. This way, dhcpcd
is configured in an explicit way about which interface to run on.
</para>
</listitem>
<listitem>
<para>
GnuPG is now built without support for a graphical passphrase entry
@@ -730,10 +759,10 @@ auth required pam_succeed_if.so uid >= 1000 quiet
</listitem>
<listitem>
<para>
Deploy a newer version of Hydra to activate the DB optimizations. You can choose from
either <package>hydra-unstable</package> (latest <literal>master</literal> compiled
against <package>nixUnstable</package>) and <package>hydra-flakes</package> (latest
version with flake-support).
Deploy a newer version of Hydra to activate the DB optimizations. This can be done by
using <package>hydra-unstable</package>. This package already includes
<link xlink:href="https://github.com/nixos/rfcs/pull/49">flake-support</link> and is
therefore compiled against <package>pkgs.nixFlakes</package>.
<warning>
<para>
If your <link linkend="opt-system.stateVersion">stateVersion</link> is set to
16 changes: 15 additions & 1 deletion nixos/doc/manual/release-notes/rl-2009.xml
Original file line number Diff line number Diff line change
@@ -195,6 +195,14 @@ environment.systemPackages = [
</itemizedlist>
</para>
</listitem>
<listitem>
<para>
Gollum received a major update to version 5.x and you may have to change
some links in your wiki when migrating from gollum 4.x. More information
can be found
<link xlink:href="https://github.com/gollum/gollum/wiki/5.0-release-notes#migrating-your-wiki">here</link>.
</para>
</listitem>
</itemizedlist>
</section>

@@ -207,7 +215,13 @@ environment.systemPackages = [

<itemizedlist>
<listitem>
<para />
<para>
The <package>notmuch</package> package move its emacs-related binaries and
emacs lisp files to a separate output. They're not part
of the default <literal>out</literal> output anymore - if you relied on the
<literal>notmuch-emacs-mua</literal> binary or the emacs lisp files, access them via
the <literal>notmuch.emacs</literal> output.
</para>
</listitem>
</itemizedlist>
</section>
1 change: 1 addition & 0 deletions nixos/lib/make-iso9660-image.sh
Original file line number Diff line number Diff line change
@@ -107,6 +107,7 @@ xorriso="xorriso
-publisher nixos
-graft-points
-full-iso9660-filenames
-joliet
${isoBootFlags}
${usbBootFlags}
${efiBootFlags}
2 changes: 1 addition & 1 deletion nixos/lib/test-driver/test-driver.py
Original file line number Diff line number Diff line change
@@ -387,7 +387,7 @@ def require_unit_state(self, unit: str, require_state: str = "active") -> None:
if state != require_state:
raise Exception(
"Expected unit ‘{}’ to to be in state ".format(unit)
+ "'active' but it is in state ‘{}’".format(state)
+ "'{}' but it is in state ‘{}’".format(require_state, state)
)

def execute(self, command: str) -> Tuple[int, str]:
2 changes: 0 additions & 2 deletions nixos/modules/installer/cd-dvd/installation-cd-base.nix
Original file line number Diff line number Diff line change
@@ -18,8 +18,6 @@ with lib;
# ISO naming.
isoImage.isoName = "${config.isoImage.isoBaseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}.iso";

isoImage.volumeID = substring 0 11 "NIXOS_ISO";

# EFI booting
isoImage.makeEfiBootable = true;

Original file line number Diff line number Diff line change
@@ -7,6 +7,8 @@ with lib;
{
imports = [ ./installation-cd-graphical-base.nix ];

isoImage.edition = "gnome";

services.xserver.desktopManager.gnome3.enable = true;

# Wayland can be problematic for some hardware like Nvidia graphics cards.
Original file line number Diff line number Diff line change
@@ -8,6 +8,8 @@ with lib;
{
imports = [ ./installation-cd-graphical-base.nix ];

isoImage.edition = "plasma5";

services.xserver = {
desktopManager.plasma5 = {
enable = true;
2 changes: 2 additions & 0 deletions nixos/modules/installer/cd-dvd/installation-cd-minimal.nix
Original file line number Diff line number Diff line change
@@ -8,5 +8,7 @@
[ ./installation-cd-base.nix
];

isoImage.edition = "minimal";

fonts.fontconfig.enable = false;
}
24 changes: 23 additions & 1 deletion nixos/modules/installer/cd-dvd/iso-image.nix
Original file line number Diff line number Diff line change
@@ -417,8 +417,17 @@ in
'';
};

isoImage.edition = mkOption {
default = "";
description = ''
Specifies which edition string to use in the volume ID of the generated
ISO image.
'';
};

isoImage.volumeID = mkOption {
default = "NIXOS_BOOT_CD";
# nixos-$EDITION-$RELEASE-$ARCH
default = "nixos${optionalString (config.isoImage.edition != "") "-${config.isoImage.edition}"}-${config.system.nixos.release}-${pkgs.stdenv.hostPlatform.uname.processor}";
description = ''
Specifies the label or volume ID of the generated ISO image.
Note that the label is used by stage 1 of the boot process to
@@ -515,6 +524,19 @@ in
};

config = {
assertions = [
{
assertion = !(stringLength config.isoImage.volumeID > 32);
# https://wiki.osdev.org/ISO_9660#The_Primary_Volume_Descriptor
# Volume Identifier can only be 32 bytes
message = let
length = stringLength config.isoImage.volumeID;
howmany = toString length;
toomany = toString (length - 32);
in
"isoImage.volumeID ${config.isoImage.volumeID} is ${howmany} characters. That is ${toomany} characters longer than the limit of 32.";
}
];

boot.loader.grub.version = 2;

4 changes: 0 additions & 4 deletions nixos/modules/installer/tools/nixos-generate-config.pl
Original file line number Diff line number Diff line change
@@ -91,9 +91,6 @@ sub hasCPUFeature {
}


# Detect the number of CPU cores.
my $cpus = scalar (grep {/^processor\s*:/} (split '\n', $cpuinfo));


# Determine CPU governor to use
if (-e "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors") {
@@ -562,7 +559,6 @@ sub multiLineList {
boot.kernelModules = [$kernelModules ];
boot.extraModulePackages = [$modulePackages ];
$fsAndSwap
nix.maxJobs = lib.mkDefault $cpus;
${\join "", (map { " $_\n" } (uniq @attrs))}}
EOF

4 changes: 2 additions & 2 deletions nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
@@ -301,7 +301,7 @@ in
# StateDirectory must be relative, and will be created under /var/lib by systemd
lpath = "acme/${cert}";
apath = "/var/lib/${lpath}";
spath = "/var/lib/acme/.lego";
spath = "/var/lib/acme/.lego/${cert}";
fileMode = if data.allowKeysForGroup then "640" else "600";
globalOpts = [ "-d" data.domain "--email" data.email "--path" "." "--key-type" data.keyType ]
++ optionals (cfg.acceptTerms) [ "--accept-tos" ]
@@ -330,7 +330,7 @@ in
User = data.user;
Group = data.group;
PrivateTmp = true;
StateDirectory = "acme/.lego ${lpath}";
StateDirectory = "acme/.lego/${cert} ${lpath}";
StateDirectoryMode = if data.allowKeysForGroup then "750" else "700";
WorkingDirectory = spath;
# Only try loading the credentialsFile if the dns challenge is enabled
Original file line number Diff line number Diff line change
@@ -198,8 +198,8 @@ in
warnings = optional (cfg.package.migration or false) ''
You're currently deploying an older version of Hydra which is needed to
make some required database changes[1]. As soon as this is done, it's recommended
to run `hydra-backfill-ids` and set `services.hydra.package` to either `pkgs.hydra-unstable`
or `pkgs.hydra-flakes` after that.
to run `hydra-backfill-ids` and set `services.hydra.package` to `pkgs.hydra-unstable`
after that.
[1] https://github.com/NixOS/hydra/pull/711
'';
@@ -212,7 +212,7 @@ in
due to an overlay. To upgrade Hydra, you need to take two steps as some
bigger changes in the database schema were implemented recently[1]. You first
need to deploy `pkgs.hydra-migration`, run `hydra-backfill-ids` on the server
and then deploy either `pkgs.hydra-unstable` or `pkgs.hydra-flakes`.
and then deploy `pkgs.hydra-unstable`.
If you want to use `pkgs.hydra` from your overlay, please set `services.hydra.package`
explicitly to `pkgs.hydra` and make sure you know what you're doing.
Original file line number Diff line number Diff line change
@@ -17,6 +17,8 @@ with lib;

###### implementation
config = mkIf config.services.gnome3.gnome-remote-desktop.enable {
services.pipewire.enable = true;

systemd.packages = [ pkgs.gnome3.gnome-remote-desktop ];
};
}
9 changes: 7 additions & 2 deletions nixos/modules/services/desktops/malcontent.nix
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ with lib;

services.malcontent = {

enable = mkEnableOption "Malcontent";
enable = mkEnableOption "Malcontent, parental control support for applications";

};

@@ -23,10 +23,15 @@ with lib;

config = mkIf config.services.malcontent.enable {

environment.systemPackages = [ pkgs.malcontent ];
environment.systemPackages = with pkgs; [
malcontent
malcontent-ui
];

services.dbus.packages = [ pkgs.malcontent ];

services.accounts-daemon.enable = true;

};

}
11 changes: 6 additions & 5 deletions nixos/modules/services/misc/nix-daemon.nix
Original file line number Diff line number Diff line change
@@ -92,13 +92,14 @@ in

maxJobs = mkOption {
type = types.either types.int (types.enum ["auto"]);
default = 1;
default = "auto";
example = 64;
description = ''
This option defines the maximum number of jobs that Nix will try
to build in parallel. The default is 1. You should generally
set it to the total number of logical cores in your system (e.g., 16
for two CPUs with 4 cores each and hyper-threading).
This option defines the maximum number of jobs that Nix will try to
build in parallel. The default is auto, which means it will use all
available logical cores. It is recommend to set it to the total
number of logical cores in your system (e.g., 16 for two CPUs with 4
cores each and hyper-threading).
'';
};

1 change: 1 addition & 0 deletions nixos/modules/services/monitoring/netdata.nix
Original file line number Diff line number Diff line change
@@ -154,6 +154,7 @@ in {
ExecStart = "${cfg.package}/bin/netdata -P /run/netdata/netdata.pid -D -c ${configFile}";
ExecReload = "${pkgs.utillinux}/bin/kill -s HUP -s USR1 -s USR2 $MAINPID";
TimeoutStopSec = 60;
Restart = "on-failure";
# User and group
User = cfg.user;
Group = cfg.group;
Loading