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

Commits on Oct 10, 2019

  1. nixos/mullvad-vpn: add service

    mullvad-vpn package is mostly useless without it.
    KamilaBorowska committed Oct 10, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    89f5dc2 View commit details

Commits on Nov 19, 2019

  1. nixos/hardened: build sandbox incompatible with namespaces

    Disables the build sandbox by default to avoid incompatibility with
    defaulting user namespaces to false. Ideally there would be some kind of
    linux kernel feature that allows us to trust nix-daemon builders to
    allow both nix sandbox builds and disabling untrusted naemspaces at the
    same time.
    Kyle Copperfield committed Nov 19, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    00ac71a View commit details

Commits on Nov 26, 2019

  1. Copy the full SHA
    759968a View commit details

Commits on Feb 11, 2020

  1. Copy the full SHA
    92bede3 View commit details

Commits on Feb 21, 2020

  1. mullvad-vpn: 2020.2 -> 2020.3

    - Security update:
    Fix stack overflow caused by WireGuard key rotation timers. When the daemon
    crashed it was restarted automatically. But it did not connect (depending
    on settings), leaving a leak.
    emacsomancer committed Feb 21, 2020
    Copy the full SHA
    119ed06 View commit details

Commits on Feb 28, 2020

  1. Copy the full SHA
    8b7f4fa View commit details

Commits on Mar 1, 2020

  1. Copy the full SHA
    3c62152 View commit details

Commits on Mar 3, 2020

  1. gotop: 3.0.0 -> 3.5.0

    Update src with maintained fork
    marsam committed Mar 3, 2020
    Copy the full SHA
    d4bfccb View commit details

Commits on Mar 14, 2020

  1. ncspot: enable MPRIS by default

    tilpner authored and marsam committed Mar 14, 2020
    Copy the full SHA
    87c0ebd View commit details

Commits on Mar 16, 2020

  1. Copy the full SHA
    759fd9b View commit details
  2. Copy the full SHA
    a723672 View commit details

Commits on Mar 17, 2020

  1. gnuplot_qt: fix on darwin

    veprbl committed Mar 17, 2020
    Copy the full SHA
    c0f2b7e View commit details

Commits on Mar 19, 2020

  1. psc-package: Stop using haskellPackages to build

    Switch to the approach taken by
    https://github.com/justinwoo/easy-purescript-nix/blob/master/psc-package-simple.nix
    
    This downloads a prebuilt release and patches the linker paths. It
    reduces the number of supported platforms, but ensures we're using the
    official supported psc-package compiler. The `haskellPackages` approach
    wasn't supported and was leading to version conflicts with dependencies.
    Lily Ballard committed Mar 19, 2020
    Copy the full SHA
    4ebc227 View commit details

Commits on Mar 21, 2020

  1. sympa: 6.2.52 -> 6.2.54

    mmilata committed Mar 21, 2020
    Copy the full SHA
    adc7388 View commit details

Commits on Mar 22, 2020

  1. qxmledit: init at 0.9.15

    s9gf4ult committed Mar 22, 2020
    Copy the full SHA
    a01e8b7 View commit details

Commits on Mar 23, 2020

  1. Copy the full SHA
    76458f8 View commit details

Commits on Mar 24, 2020

  1. sympa: build with --enable-fhs

    Update module accordingly.
    mmilata committed Mar 24, 2020
    Copy the full SHA
    8f632b4 View commit details
  2. nixos/sympa: fix outgoing messaging

    Because ProtectKernelModules implies NoNewPrivileges, postfix's sendmail
    executable, which is setgid, wasn't able to send mail.
    mmilata committed Mar 24, 2020
    Copy the full SHA
    fdc36e2 View commit details

Commits on Mar 25, 2020

  1. llvmPackages_10: rc5 -> release

    updated hashes and url
    updated comment regarding version/release_version to make it clearer
    DieGoldeneEnte committed Mar 25, 2020
    Copy the full SHA
    4665b2a View commit details

Commits on Mar 26, 2020

  1. andyetitmoves: make unconditional

    This should never be null - the meta.platforms gives us an assertion.
    matthewbauer committed Mar 26, 2020
    Copy the full SHA
    cc7fec1 View commit details

Commits on Mar 27, 2020

  1. Copy the full SHA
    4f31680 View commit details
  2. Copy the full SHA
    3435237 View commit details

Commits on Mar 28, 2020

  1. Copy the full SHA
    babd734 View commit details
  2. Copy the full SHA
    1b0799f View commit details
  3. Copy the full SHA
    2712152 View commit details
  4. mullvad-vpn: add libappindicator dependency

    Adding libappindicator as a runtime dependency allows the Electron-based gui app
    to have an appindicator in desktop environments that support them (eg,
    Gnome with the appindicator support extension).
    cgevans committed Mar 28, 2020
    Copy the full SHA
    061e73c View commit details
  5. Copy the full SHA
    1eacf62 View commit details
  6. Copy the full SHA
    76f7fc1 View commit details

Commits on Mar 29, 2020

  1. vmTools.diskImageFuns.debian9i386: update source url

    referenced packets were removed from the mirrors
    
    Fixes #77396 #80041
    symphorien committed Mar 29, 2020
    Copy the full SHA
    671dc2a View commit details
  2. Copy the full SHA
    6a2f64a View commit details
  3. nixos/display-managers: don't start pulseaudio

    Hey, we have sockets.
    worldofpeace committed Mar 29, 2020
    Copy the full SHA
    3ad74e3 View commit details
  4. Copy the full SHA
    4b206ac View commit details

Commits on Mar 30, 2020

  1. matomo: 3.13.3 -> 3.13.4

    Updated both matomo and matomo-beta to the latest version
    Kiwi committed Mar 30, 2020
    Copy the full SHA
    761b391 View commit details
  2. litecli: 1.1.0 -> 1.3.2

    stigtsp committed Mar 30, 2020
    Copy the full SHA
    af7034f View commit details
  3. cantata: make qtmultimedia and vlc optional

    Upstream defaults vlc to off. Its only purpose is as an alternative to
    QtMultimedia for "MPD HTTP stream playback" [1]. Similarly, provide a
    toggle for qtmultimedia, in case somebody wants to disable HTTP stream
    playback.
    
    [1] https://github.com/CDrummond/cantata/blob/efa907c8e03d052718f14834eb968da86d1c34d8/CMakeLists.txt#L51
    cole-h committed Mar 30, 2020
    Copy the full SHA
    23f4ac9 View commit details
  4. Copy the full SHA
    652342c View commit details
  5. Copy the full SHA
    b5855b9 View commit details

Commits on Mar 31, 2020

  1. texlive.combine: set TEXMFCNF in binary wrapper

    This helps kpathsea to find texmf.cnf in some cases. For example,
    dvipng was trying to look for it in
    /nix/store/<hash>-texlive-dvipng.bin-2019/ instead of
    /nix/store/<hash>-texlive-combined-full-2019/.
    veprbl committed Mar 31, 2020
    Copy the full SHA
    91c9f2a View commit details
  2. Copy the full SHA
    af418c4 View commit details
  3. Copy the full SHA
    439d97e View commit details
  4. Copy the full SHA
    ad65f60 View commit details
  5. Copy the full SHA
    1e9982c View commit details
  6. Copy the full SHA
    237a1e7 View commit details
  7. sozu: init at 0.11.46

    Br1ght0ne committed Mar 31, 2020
    Copy the full SHA
    40d5a07 View commit details
  8. wootility: 3.3.3 -> 3.4.6

    davidtwco committed Mar 31, 2020
    Copy the full SHA
    2ec1a5c View commit details
  9. computecpp: 1.2.0 -> 1.3.0

    davidtwco committed Mar 31, 2020
    Copy the full SHA
    e6df077 View commit details
  10. Copy the full SHA
    f9703bd View commit details
  11. uberwriter: renamed to apostrophe

    * update 2020-01-24 -> 2020-03-29
    * reflect change of name and main repository
    sternenseemann committed Mar 31, 2020
    Copy the full SHA
    db9a868 View commit details
  12. Copy the full SHA
    dd3da96 View commit details
  13. Copy the full SHA
    da97103 View commit details
Showing 363 changed files with 6,642 additions and 4,216 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -82,8 +82,8 @@
/pkgs/development/r-modules @peti

# Ruby
/pkgs/development/interpreters/ruby @alyssais @zimbatm
/pkgs/development/ruby-modules @alyssais @zimbatm
/pkgs/development/interpreters/ruby @alyssais
/pkgs/development/ruby-modules @alyssais

# Rust
/pkgs/development/compilers/rust @Mic92 @LnL7
7 changes: 1 addition & 6 deletions doc/languages-frameworks/vim.section.md
Original file line number Diff line number Diff line change
@@ -261,12 +261,7 @@ deoplete-fish = super.deoplete-fish.overrideAttrs(old: {

Sometimes plugins require an override that must be changed when the plugin is updated. This can cause issues when Vim plugins are auto-updated but the associated override isn't updated. For these plugins, the override should be written so that it specifies all information required to install the plugin, and running `./update.py` doesn't change the derivation for the plugin. Manually updating the override is required to update these types of plugins. An example of such a plugin is `LanguageClient-neovim`.

To add a new plugin:

1. run `./update.py` and create a commit named "vimPlugins: Update",
2. add the new plugin to [vim-plugin-names](/pkgs/misc/vim-plugins/vim-plugin-names) and add overrides if required to [overrides.nix](/pkgs/misc/vim-plugins/overrides.nix),
3. run `./update.py` again and create a commit named "vimPlugins.[name]: init at [version]" (where `name` and `version` can be found in [generated.nix](/pkgs/misc/vim-plugins/generated.nix)), and
4. create a pull request.
To add a new plugin, run `./update.py --add "[owner]/[name]"`. **NOTE**: This script automatically commits to your git repository. Be sure to check out a fresh branch before running.

## Important repositories

2 changes: 1 addition & 1 deletion doc/preface.chapter.md
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ security updates. More up to date packages and modules are available via the

Both `nixos-unstable` and `nixpkgs` follow the `master` branch of the Nixpkgs
repository, although both do lag the `master` branch by generally
[a couple of days](https://howoldis.herokuapp.com/). Updates to a channel are
[a couple of days](https://status.nixos.org/). Updates to a channel are
distributed as soon as all tests for that channel pass, e.g.
[this table](https://hydra.nixos.org/job/nixpkgs/trunk/unstable#tabs-constituents)
shows the status of tests for the `nixpkgs` channel.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@
import ./nixos/lib/eval-config.nix (args // {
modules = modules ++
[ { system.nixos.versionSuffix =
".${lib.substring 0 8 self.lastModified}.${self.shortRev or "dirty"}";
".${lib.substring 0 8 (self.lastModifiedDate or self.lastModified)}.${self.shortRev or "dirty"}";
system.nixos.revision = lib.mkIf (self ? rev) self.rev;
}
];
4 changes: 2 additions & 2 deletions lib/attrsets.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
let
inherit (builtins) head tail length;
inherit (lib.trivial) and;
inherit (lib.strings) concatStringsSep;
inherit (lib.strings) concatStringsSep sanitizeDerivationName;
inherit (lib.lists) fold concatMap concatLists;
in

@@ -310,7 +310,7 @@ rec {
path' = builtins.storePath path;
res =
{ type = "derivation";
name = builtins.unsafeDiscardStringContext (builtins.substring 33 (-1) (baseNameOf path'));
name = sanitizeDerivationName (builtins.substring 33 (-1) (baseNameOf path'));
outPath = path';
outputs = [ "out" ];
out = res;
5 changes: 5 additions & 0 deletions lib/licenses.nix
Original file line number Diff line number Diff line change
@@ -682,6 +682,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) {
# channel and NixOS images.
};

unicode-dfs-2016 = spdx {
spdxId = "Unicode-DFS-2016";
fullName = "Unicode License Agreement - Data Files and Software (2016)";
};

unlicense = spdx {
spdxId = "Unlicense";
fullName = "The Unlicense";
32 changes: 32 additions & 0 deletions lib/strings.nix
Original file line number Diff line number Diff line change
@@ -678,4 +678,36 @@ rec {
=> "1.0"
*/
fileContents = file: removeSuffix "\n" (builtins.readFile file);


/* Creates a valid derivation name from a potentially invalid one.
Type: sanitizeDerivationName :: String -> String
Example:
sanitizeDerivationName "../hello.bar # foo"
=> "-hello.bar-foo"
sanitizeDerivationName ""
=> "unknown"
sanitizeDerivationName pkgs.hello
=> "-nix-store-2g75chlbpxlrqn15zlby2dfh8hr9qwbk-hello-2.10"
*/
sanitizeDerivationName = string: lib.pipe string [
# Get rid of string context. This is safe under the assumption that the
# resulting string is only used as a derivation name
builtins.unsafeDiscardStringContext
# Strip all leading "."
(x: builtins.elemAt (builtins.match "\\.*(.*)" x) 0)
# Split out all invalid characters
# https://github.com/NixOS/nix/blob/2.3.2/src/libstore/store-api.cc#L85-L112
# https://github.com/NixOS/nix/blob/2242be83c61788b9c0736a92bb0b5c7bbfc40803/nix-rust/src/store/path.rs#L100-L125
(builtins.split "[^[:alnum:]+._?=-]+")
# Replace invalid character ranges with a "-"
(concatMapStrings (s: if lib.isList s then "-" else s))
# Limit to 211 characters (minus 4 chars for ".drv")
(x: substring (lib.max (stringLength x - 207) 0) (-1) x)
# If the result is empty, replace it with "unknown"
(x: if stringLength x == 0 then "unknown" else x)
];

}
42 changes: 42 additions & 0 deletions lib/tests/misc.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,23 @@
# if the resulting list is empty, all tests passed
with import ../default.nix;

let

testSanitizeDerivationName = { name, expected }:
let
drv = derivation {
name = strings.sanitizeDerivationName name;
builder = "x";
system = "x";
};
in {
# Evaluate the derivation so an invalid name would be caught
expr = builtins.seq drv.drvPath drv.name;
inherit expected;
};

in

runTests {


@@ -490,4 +507,29 @@ runTests {

expected = "'-X' 'PUT' '--data' '{\"id\":0}' '--retry' '3' '--url' 'https://example.com/foo' '--url' 'https://example.com/bar' '--verbose'";
};

testSanitizeDerivationNameLeadingDots = testSanitizeDerivationName {
name = "..foo";
expected = "foo";
};

testSanitizeDerivationNameAscii = testSanitizeDerivationName {
name = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
expected = "-+--.-0123456789-=-?-ABCDEFGHIJKLMNOPQRSTUVWXYZ-_-abcdefghijklmnopqrstuvwxyz-";
};

testSanitizeDerivationNameTooLong = testSanitizeDerivationName {
name = "This string is loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong";
expected = "loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong";
};

testSanitizeDerivationNameTooLongWithInvalid = testSanitizeDerivationName {
name = "Hello there aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa &&&&&&&&";
expected = "there-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-";
};

testSanitizeDerivationNameEmpty = testSanitizeDerivationName {
name = "";
expected = "unknown";
};
}
18 changes: 18 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -2839,6 +2839,12 @@
githubId = 12064730;
name = "Alex Ivanov";
};
gnxlxnxx = {
email = "gnxlxnxx@web.de";
github = "gnxlxnxx";
githubId = 25820499;
name = "Roman Kretschmer";
};
goibhniu = {
email = "cillian.deroiste@gmail.com";
github = "cillianderoiste";
@@ -3235,6 +3241,12 @@
fingerprint = "7311 2700 AB4F 4CDF C68C F6A5 79C3 C47D C652 EA54";
}];
};
ivar = {
email = "ivar.scholten@protonmail.com";
github = "IvarWithoutBones";
githubId = 41924494;
Name = "Ivar";
};
ivegotasthma = {
email = "ivegotasthma@protonmail.com";
github = "ivegotasthma";
@@ -7336,6 +7348,12 @@
githubId = 378734;
name = "TG ⊗ Θ";
};
th0rgal = {
email = "thomas.marchand@tuta.io";
github = "Th0rgal";
githubId = 41830259;
name = "Thomas Marchand";
};
thall = {
email = "niclas.thall@gmail.com";
github = "thall";
15 changes: 15 additions & 0 deletions nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -757,6 +757,12 @@ auth required pam_succeed_if.so uid >= 1000 quiet
</warning>
</para>
</listitem>
<listitem>
<para>
The TokuDB storage engine will be disabled in <package>mariadb</package> 10.5. It is recommended to switch
to RocksDB. See also <link xlink:href="https://mariadb.com/kb/en/tokudb/">TokuDB</link>.
</para>
</listitem>
</itemizedlist>
</section>

@@ -888,6 +894,15 @@ auth required pam_succeed_if.so uid >= 1000 quiet
<listitem>
<para>
<package>mongodb</package> has been updated to version <literal>3.4.24</literal>.
<warning>
<para>
Please note that <package>mongodb</package> has been relicensed under their own
<link xlink:href="https://www.mongodb.com/licensing/server-side-public-license/faq"><literal>
sspl</literal></link>-license. Since it's not entirely free and not OSI-approved,
it's listed as non-free. This means that Hydra doesn't provide prebuilt
<package>mongodb</package>-packages and needs to be built locally.
</para>
</warning>
</para>
</listitem>
</itemizedlist>
2 changes: 1 addition & 1 deletion nixos/lib/make-options-doc/default.nix
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ let
optionsList = lib.sort optionLess optionsListDesc;

# Convert the list of options into an XML file.
optionsXML = pkgs.writeText "options.xml" (builtins.toXML optionsList);
optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);

optionsNix = builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList);

4 changes: 4 additions & 0 deletions nixos/modules/config/vte.nix
Original file line number Diff line number Diff line change
@@ -16,6 +16,10 @@ in

{

meta = {
maintainers = teams.gnome.members;
};

options = {

programs.bash.vteIntegration = mkOption {
8 changes: 6 additions & 2 deletions nixos/modules/config/xdg/autostart.nix
Original file line number Diff line number Diff line change
@@ -2,19 +2,23 @@

with lib;
{
meta = {
maintainers = teams.freedesktop.members;
};

options = {
xdg.autostart.enable = mkOption {
type = types.bool;
default = true;
description = ''
Whether to install files to support the
Whether to install files to support the
<link xlink:href="https://specifications.freedesktop.org/autostart-spec/autostart-spec-latest.html">XDG Autostart specification</link>.
'';
};
};

config = mkIf config.xdg.autostart.enable {
environment.pathsToLink = [
environment.pathsToLink = [
"/etc/xdg/autostart"
];
};
4 changes: 4 additions & 0 deletions nixos/modules/config/xdg/icons.nix
Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@

with lib;
{
meta = {
maintainers = teams.freedesktop.members;
};

options = {
xdg.icons.enable = mkOption {
type = types.bool;
8 changes: 6 additions & 2 deletions nixos/modules/config/xdg/menus.nix
Original file line number Diff line number Diff line change
@@ -2,19 +2,23 @@

with lib;
{
meta = {
maintainers = teams.freedesktop.members;
};

options = {
xdg.menus.enable = mkOption {
type = types.bool;
default = true;
description = ''
Whether to install files to support the
Whether to install files to support the
<link xlink:href="https://specifications.freedesktop.org/menu-spec/menu-spec-latest.html">XDG Desktop Menu specification</link>.
'';
};
};

config = mkIf config.xdg.menus.enable {
environment.pathsToLink = [
environment.pathsToLink = [
"/share/applications"
"/share/desktop-directories"
"/etc/xdg/menus"
4 changes: 4 additions & 0 deletions nixos/modules/config/xdg/mime.nix
Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@

with lib;
{
meta = {
maintainers = teams.freedesktop.members;
};

options = {
xdg.mime.enable = mkOption {
type = types.bool;
4 changes: 4 additions & 0 deletions nixos/modules/config/xdg/portal.nix
Original file line number Diff line number Diff line change
@@ -7,6 +7,10 @@ with lib;
(mkRenamedOptionModule [ "services" "flatpak" "extraPortals" ] [ "xdg" "portal" "extraPortals" ])
];

meta = {
maintainers = teams.freedesktop.members;
};

options.xdg.portal = {
enable =
mkEnableOption "<link xlink:href='https://github.com/flatpak/xdg-desktop-portal'>xdg desktop integration</link>"//{
4 changes: 4 additions & 0 deletions nixos/modules/config/xdg/sounds.nix
Original file line number Diff line number Diff line change
@@ -2,6 +2,10 @@

with lib;
{
meta = {
maintainers = teams.freedesktop.members;
};

options = {
xdg.sounds.enable = mkOption {
type = types.bool;
7 changes: 6 additions & 1 deletion nixos/modules/hardware/sensor/iio.nix
Original file line number Diff line number Diff line change
@@ -8,7 +8,12 @@ with lib;
options = {
hardware.sensor.iio = {
enable = mkOption {
description = "Enable this option to support IIO sensors.";
description = ''
Enable this option to support IIO sensors.
IIO sensors are used for orientation and ambient light
sensors on some mobile devices.
'';
type = types.bool;
default = false;
};
4 changes: 4 additions & 0 deletions nixos/modules/i18n/input-method/ibus.nix
Original file line number Diff line number Diff line change
@@ -75,5 +75,9 @@ in
QT_IM_MODULE = "ibus";
XMODIFIERS = "@im=ibus";
};

xdg.portal.extraPortals = mkIf xdg.portal.enable [
ibusPackage
];
};
}
Loading