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

Commits on May 9, 2020

  1. Copy the full SHA
    2969873 View commit details

Commits on Jun 28, 2020

  1. Copy the full SHA
    88de3d0 View commit details

Commits on Aug 17, 2020

  1. xdg-utils: add missing dependencies

    - Add coreutils to PATH, because the xdg scripts use other not yet
      provided coreutils like head.
      This makes the custom 'cut' and 'sort' functions obsolete.
      Remove double quotes around $out because $out contains no Bash field separators.
    - Replace all instances of 'which' with 'type -P'.
      The previous sed command only replaced instances with a leading space.
    erikarvstedt committed Aug 17, 2020
    Copy the full SHA
    68559e2 View commit details

Commits on Aug 31, 2020

  1. stm32cubemx: 5.6.1 -> 6.0.1

    r-ryantm authored and zowoq committed Aug 31, 2020
    Copy the full SHA
    815eaa5 View commit details

Commits on Sep 28, 2020

  1. openafs_1_8: Add upstream patches for Linux kernel 5.8 and 5.9

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Sep 28, 2020
    Copy the full SHA
    14245d4 View commit details

Commits on Oct 14, 2020

  1. Copy the full SHA
    32535c9 View commit details

Commits on Oct 16, 2020

  1. Revert "python3.pkgs.yq: make stdin a tty for tests"

    This reverts commit 40a58cc.
    veehaitch committed Oct 16, 2020
    Copy the full SHA
    5f6707d View commit details

Commits on Oct 18, 2020

  1. Copy the full SHA
    26093e5 View commit details

Commits on Oct 21, 2020

  1. Copy the full SHA
    5837209 View commit details

Commits on Oct 22, 2020

  1. modified out-of-date template

    Changed the label to '9.needs: package (update)'
    Removed trailing spaces
    Modified formulation of a sentence
    nova-nowiz committed Oct 22, 2020
    Copy the full SHA
    7f27185 View commit details

Commits on Oct 24, 2020

  1. Copy the full SHA
    55d047f View commit details
  2. Copy the full SHA
    cd63b94 View commit details

Commits on Oct 27, 2020

  1. batman-adv: v2020.3 -> v2020.4

    also updates batctl and alfred.
    mweinelt committed Oct 27, 2020
    Copy the full SHA
    da46f4e View commit details
  2. Copy the full SHA
    aa86d48 View commit details
  3. Copy the full SHA
    8d83031 View commit details

Commits on Oct 30, 2020

  1. velero: 1.5.1 -> 1.5.2

    Signed-off-by: Bryan A. S <bryanasdev000@gmail.com>
    bryanasdev000 committed Oct 30, 2020
    Copy the full SHA
    2c82b84 View commit details
  2. jackmix: 0.5.2 -> 0.6.0

    also qt4 -> qt5
    ajs124 committed Oct 30, 2020
    Copy the full SHA
    5949927 View commit details

Commits on Oct 31, 2020

  1. Copy the full SHA
    7dcbc0e View commit details

Commits on Nov 2, 2020

  1. nss: fix build on ppc64[le]

    NSS configure scripts use the abbreviated form ppc64/ppc64le:
    https://github.com/nss-dev/nss/blob/NSS_3_57_RTM/coreconf/config.gypi#L209
    
    Whereas nixpkgs uses the longer form:
    `nix eval nixpkgs.pkgsCross.powernv.hostPlatform.parsed.cpu.name`
    `powerpc64le`
    r-burns committed Nov 2, 2020
    Copy the full SHA
    eed2008 View commit details

Commits on Nov 4, 2020

  1. openjdk: switch from mercurial repository to GitHub

    Reasons:
    * openjdk is migrating to GitHub (https://openjdk.java.net/jeps/369)
    * GitHub provides faster download speed that mercurial
    asbachb committed Nov 4, 2020
    Copy the full SHA
    aefda81 View commit details

Commits on Nov 5, 2020

  1. nixos-help: Do $PATH lookup in nixos-manual.desktop instead of hardco…

    …ding derivation
    
    See db236e5 "steam: Do $PATH lookup in steam.desktop [...]".
    tl;dr: Otherwise widget/panel/desktop icons in DEs like KDE break.
    klemensn authored and andir committed Nov 5, 2020
    Copy the full SHA
    b02719a View commit details
  2. Copy the full SHA
    3560f0d View commit details
  3. nixos-help: bundle the desktop item with the script

    This is to ensure that whenever we install the desktop item we also have
    the script installed. Prior to b02719a we always had the reference to
    the script in the desktop item. Since desktop items are being copied to
    home directories and thus "bit rod" over time that absolute path was
    removed.
    andir committed Nov 5, 2020
    Copy the full SHA
    9a01e97 View commit details

Commits on Nov 8, 2020

  1. Copy the full SHA
    84276fd View commit details
  2. keepassxc: Enable networking by default

    Upstream builds with it enabled, as do other distros.
    talyz committed Nov 8, 2020
    Copy the full SHA
    cfdeea4 View commit details

Commits on Nov 9, 2020

  1. Copy the full SHA
    445dde6 View commit details
  2. qt5.qtwebengine: remove dead conditions for pre 5.12 support

    This doesn't change the derivation.
    veprbl committed Nov 9, 2020
    Copy the full SHA
    aa08b8e View commit details

Commits on Nov 10, 2020

  1. qt5.qtwebengine: don't override patches in qtModule

    This fixes darwin build.
    
    Fixes: 90db964 ('qt5.qtwebengine: fix build with bison-3.7')
    veprbl committed Nov 10, 2020
    Copy the full SHA
    ee2501f View commit details
  2. zfsbackup: update unstable-2019-03-05 -> unstable-2020-09-30

    Signed-off-by: Rajiv Ranganath <rajiv.ranganath@atihita.com>
    rajivr committed Nov 10, 2020
    Copy the full SHA
    dbef34e View commit details
  3. monero: 0.17.1.1 -> 0.17.1.3

    prusnak committed Nov 10, 2020
    Copy the full SHA
    51c2129 View commit details
  4. Copy the full SHA
    52ee36a View commit details

Commits on Nov 11, 2020

  1. Revert "firefox: set build timeout at eight hours"

    The default timeout is 10h on Hydra currently, so this timeout
    setting is pointless or counterproductive.
    This commit seems to have been made in error
    #96767 (comment)
    
    This reverts commit c57fedb.
    roberth committed Nov 11, 2020
    Copy the full SHA
    739b762 View commit details
  2. Copy the full SHA
    ec5fc9b View commit details
  3. thunderbird: 78.4.2 -> 78.4.3

    taku0 committed Nov 11, 2020
    Copy the full SHA
    205652e View commit details
  4. obsidian: 0.9.6 -> 0.9.11

    r-ryantm committed Nov 11, 2020
    Copy the full SHA
    008e711 View commit details
  5. operator-sdk: 1.1.0 -> 1.2.0

    r-ryantm committed Nov 11, 2020
    Copy the full SHA
    7840281 View commit details

Commits on Nov 12, 2020

  1. samblaster: 0.1.24 -> 0.1.26

    r-ryantm committed Nov 12, 2020
    Copy the full SHA
    d1baaef View commit details
  2. snippetpixie: 1.4.1 -> 1.5.0

    r-ryantm committed Nov 12, 2020
    Copy the full SHA
    15e82d1 View commit details
  3. stella: 6.3 -> 6.4

    r-ryantm committed Nov 12, 2020
    Copy the full SHA
    bcbc529 View commit details
  4. Copy the full SHA
    5efb8b4 View commit details
  5. wavemon: 0.9.1 -> 0.9.2

    r-ryantm committed Nov 12, 2020
    Copy the full SHA
    04b5e93 View commit details
  6. zef: 0.8.5 -> 0.9.1

    r-ryantm committed Nov 12, 2020
    Copy the full SHA
    d817bf1 View commit details
  7. Copy the full SHA
    9f5cba0 View commit details

Commits on Nov 13, 2020

  1. Copy the full SHA
    e86b050 View commit details
  2. Copy the full SHA
    91b3ce2 View commit details
  3. awsweeper: 0.7.0 -> 0.10.2

    marsam committed Nov 13, 2020
    Copy the full SHA
    4bdd40d View commit details
  4. wal-g: 0.2.17 -> 0.2.18

    marsam committed Nov 13, 2020
    Copy the full SHA
    dce3b45 View commit details
  5. exodus: 20.10.23 -> 20.11.10

    r-ryantm committed Nov 13, 2020
    Copy the full SHA
    c05095f View commit details
  6. dar: 2.6.12 -> 2.6.13

    r-ryantm committed Nov 13, 2020
    Copy the full SHA
    e4ac103 View commit details
  7. tailscale: 1.2.1 -> 1.2.6

    Signed-off-by: David Anderson <dave@natulte.net>
    danderson committed Nov 13, 2020
    Copy the full SHA
    027bcf8 View commit details
Showing 438 changed files with 9,396 additions and 6,756 deletions.
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/out_of_date_package_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
name: Out-of-date package reports
about: For packages that are out-of-date
title: ''
labels: '9.needs: package (update)'
assignees: ''

---


###### Checklist

<!-- Note that these are hard requirements -->

<!--
You can use the "Go to file" functionality on github to find the package
Then you can go to the history for this package
Find the latest "package_name: old_version -> new_version" commit
The "new_version" is the the current version of the package
-->
- [ ] Checked the [nixpkgs master branch](https://github.com/NixOS/nixpkgs)
<!--
Type the name of your package and try to find an open pull request for the package
If you find an open pull request, you can review it!
There's a high chance that you'll have the new version right away while helping the community!
-->
- [ ] Checked the [nixpkgs pull requests](https://github.com/NixOS/nixpkgs/pulls)

###### Project name
`nix search` name:
<!--
The current version can be found easily with the same process than above for checking the master branch
If an open PR is present for the package, take this version as the current one and link to the PR
-->
current version:
desired version:

###### Notify maintainers
<!--
Search your package here: https://search.nixos.org/packages?channel=unstable
If no maintainer is listed for your package, tag the person that last updated the package
-->

maintainers:

###### Note for maintainers

Please tag this issue in your PR.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ comment describing what you have tested in the relevant package/service.
Reviewing helps to reduce the average time-to-merge for everyone.
Thanks a lot if you do!
List of open PRs: https://github.com/NixOS/nixpkgs/pulls
Reviewing guidelines: https://hydra.nixos.org/job/nixpkgs/trunk/manual/latest/download/1/nixpkgs/manual.html#chap-reviewing-contributions
Reviewing guidelines: https://nixos.org/manual/nixpkgs/unstable/#chap-reviewing-contributions
-->

###### Motivation for this change
10 changes: 3 additions & 7 deletions doc/builders/packages/shell-helpers.xml
Original file line number Diff line number Diff line change
@@ -6,20 +6,16 @@
<para>
Some packages provide the shell integration to be more useful. But unlike other systems, nix doesn't have a standard share directory location. This is why a bunch <command>PACKAGE-share</command> scripts are shipped that print the location of the corresponding shared folder. Current list of such packages is as following:
<itemizedlist>
<listitem>
<para>
<literal>autojump</literal>: <command>autojump-share</command>
</para>
</listitem>
<listitem>
<para>
<literal>fzf</literal>: <command>fzf-share</command>
</para>
</listitem>
</itemizedlist>
E.g. <literal>autojump</literal> can then used in the .bashrc like this:
E.g. <literal>fzf</literal> can then used in the .bashrc like this:
<screen>
source "$(autojump-share)/autojump.bash"
source "$(fzf-share)/completion.bash"
source "$(fzf-share)/key-bindings.bash"
</screen>
</para>
</section>
48 changes: 0 additions & 48 deletions doc/contributing/reviewing-contributions.xml
Original file line number Diff line number Diff line change
@@ -47,18 +47,6 @@
</para>

<itemizedlist>
<listitem>
<para>
Add labels to the pull request. (Requires commit rights)
</para>
<itemizedlist>
<listitem>
<para>
<literal>8.has: package (update)</literal> and any topic label that fit the updated package.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
Ensure that the package versioning fits the guidelines.
@@ -186,18 +174,6 @@
</para>

<itemizedlist>
<listitem>
<para>
Add labels to the pull request. (Requires commit rights)
</para>
<itemizedlist>
<listitem>
<para>
<literal>8.has: package (new)</literal> and any topic label that fit the new package.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
Ensure that the package versioning is fitting the guidelines.
@@ -302,18 +278,6 @@
</para>

<itemizedlist>
<listitem>
<para>
Add labels to the pull request. (Requires commit rights)
</para>
<itemizedlist>
<listitem>
<para>
<literal>8.has: module (update)</literal> and any topic label that fit the module.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
Ensure that the module maintainers are notified.
@@ -406,18 +370,6 @@
</para>

<itemizedlist>
<listitem>
<para>
Add labels to the pull request. (Requires commit rights)
</para>
<itemizedlist>
<listitem>
<para>
<literal>8.has: module (new)</literal> and any topic label that fit the module.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
Ensure that the module tests, if any, are succeeding.
4 changes: 2 additions & 2 deletions lib/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
*/
let

inherit (import ./fixed-points.nix {}) makeExtensible;
inherit (import ./fixed-points.nix { inherit lib; }) makeExtensible;

lib = makeExtensible (self: let
callLibs = file: import file { lib = self; };
@@ -69,7 +69,7 @@ let
importJSON importTOML warn info showWarnings nixpkgsVersion version mod compare
splitByAndCompare functionArgs setFunctionArgs isFunction toHexString toBaseDigits;
inherit (self.fixedPoints) fix fix' converge extends composeExtensions
makeExtensible makeExtensibleWithCustomName;
composeManyExtensions makeExtensible makeExtensibleWithCustomName;
inherit (self.attrsets) attrByPath hasAttrByPath setAttrByPath
getAttrFromPath attrVals attrValues getAttrs catAttrs filterAttrs
filterAttrsRecursive foldAttrs collect nameValuePair mapAttrs
11 changes: 10 additions & 1 deletion lib/fixed-points.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ ... }:
{ lib, ... }:
rec {
# Compute the fixed point of the given function `f`, which is usually an
# attribute set that expects its final, non-recursive representation as an
@@ -77,6 +77,15 @@ rec {
super' = super // fApplied;
in fApplied // g self super';

# Compose several extending functions of the type expected by 'extends' into
# one where changes made in preceding functions are made available to
# subsequent ones.
#
# composeManyExtensions : [packageSet -> packageSet -> packageSet] -> packageSet -> packageSet -> packageSet
# ^final ^prev ^overrides ^final ^prev ^overrides
composeManyExtensions =
lib.foldr (x: y: composeExtensions x y) (self: super: {});

# Create an overridable, recursive attribute set. For example:
#
# nix-repl> obj = makeExtensible (self: { })
3 changes: 3 additions & 0 deletions lib/systems/doubles.nix
Original file line number Diff line number Diff line change
@@ -37,6 +37,8 @@ let
"vc4-none"
"or1k-none"

"mmix-mmixware"

"js-ghcjs"

"aarch64-genode" "i686-genode" "x86_64-genode"
@@ -57,6 +59,7 @@ in {
i686 = filterDoubles predicates.isi686;
x86_64 = filterDoubles predicates.isx86_64;
mips = filterDoubles predicates.isMips;
mmix = filterDoubles predicates.isMmix;
riscv = filterDoubles predicates.isRiscV;
vc4 = filterDoubles predicates.isVc4;
or1k = filterDoubles predicates.isOr1k;
5 changes: 5 additions & 0 deletions lib/systems/examples.nix
Original file line number Diff line number Diff line change
@@ -109,6 +109,11 @@ rec {
platform = platforms.riscv-multiplatform "32";
};

mmix = {
config = "mmix-unknown-mmixware";
libc = "newlib";
};

msp430 = {
config = "msp430-elf";
libc = "newlib";
1 change: 1 addition & 0 deletions lib/systems/inspect.nix
Original file line number Diff line number Diff line change
@@ -17,6 +17,7 @@ rec {
isAarch32 = { cpu = { family = "arm"; bits = 32; }; };
isAarch64 = { cpu = { family = "arm"; bits = 64; }; };
isMips = { cpu = { family = "mips"; }; };
isMmix = { cpu = { family = "mmix"; }; };
isRiscV = { cpu = { family = "riscv"; }; };
isSparc = { cpu = { family = "sparc"; }; };
isWasm = { cpu = { family = "wasm"; }; };
33 changes: 19 additions & 14 deletions lib/systems/parse.nix
Original file line number Diff line number Diff line change
@@ -93,6 +93,8 @@ rec {
mips64 = { bits = 64; significantByte = bigEndian; family = "mips"; };
mips64el = { bits = 64; significantByte = littleEndian; family = "mips"; };

mmix = { bits = 64; significantByte = bigEndian; family = "mmix"; };

powerpc = { bits = 32; significantByte = bigEndian; family = "power"; };
powerpc64 = { bits = 64; significantByte = bigEndian; family = "power"; };
powerpc64le = { bits = 64; significantByte = littleEndian; family = "power"; };
@@ -270,19 +272,20 @@ rec {
kernels = with execFormats; with kernelFamilies; setTypes types.openKernel {
# TODO(@Ericson2314): Don't want to mass-rebuild yet to keeping 'darwin' as
# the nnormalized name for macOS.
macos = { execFormat = macho; families = { inherit darwin; }; name = "darwin"; };
ios = { execFormat = macho; families = { inherit darwin; }; };
freebsd = { execFormat = elf; families = { inherit bsd; }; };
linux = { execFormat = elf; families = { }; };
netbsd = { execFormat = elf; families = { inherit bsd; }; };
none = { execFormat = unknown; families = { }; };
openbsd = { execFormat = elf; families = { inherit bsd; }; };
solaris = { execFormat = elf; families = { }; };
wasi = { execFormat = wasm; families = { }; };
redox = { execFormat = elf; families = { }; };
windows = { execFormat = pe; families = { }; };
ghcjs = { execFormat = unknown; families = { }; };
genode = { execFormat = elf; families = { }; };
macos = { execFormat = macho; families = { inherit darwin; }; name = "darwin"; };
ios = { execFormat = macho; families = { inherit darwin; }; };
freebsd = { execFormat = elf; families = { inherit bsd; }; };
linux = { execFormat = elf; families = { }; };
netbsd = { execFormat = elf; families = { inherit bsd; }; };
none = { execFormat = unknown; families = { }; };
openbsd = { execFormat = elf; families = { inherit bsd; }; };
solaris = { execFormat = elf; families = { }; };
wasi = { execFormat = wasm; families = { }; };
redox = { execFormat = elf; families = { }; };
windows = { execFormat = pe; families = { }; };
ghcjs = { execFormat = unknown; families = { }; };
genode = { execFormat = elf; families = { }; };
mmixware = { execFormat = unknown; families = { }; };
} // { # aliases
# 'darwin' is the kernel for all of them. We choose macOS by default.
darwin = kernels.macos;
@@ -384,7 +387,7 @@ rec {
else if (elemAt l 1) == "elf"
then { cpu = elemAt l 0; vendor = "unknown"; kernel = "none"; abi = elemAt l 1; }
else { cpu = elemAt l 0; kernel = elemAt l 1; };
"3" = # Awkwards hacks, beware!
"3" = # Awkward hacks, beware!
if elemAt l 1 == "apple"
then { cpu = elemAt l 0; vendor = "apple"; kernel = elemAt l 2; }
else if (elemAt l 1 == "linux") || (elemAt l 2 == "gnu")
@@ -395,6 +398,8 @@ rec {
then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = "wasi"; }
else if (elemAt l 2 == "redox")
then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = "redox"; }
else if (elemAt l 2 == "mmixware")
then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = "mmixware"; }
else if hasPrefix "netbsd" (elemAt l 2)
then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = elemAt l 2; }
else if (elem (elemAt l 2) ["eabi" "eabihf" "elf"])
20 changes: 20 additions & 0 deletions lib/tests/misc.nix
Original file line number Diff line number Diff line change
@@ -87,6 +87,26 @@ runTests {
expected = true;
};

testComposeManyExtensions0 = {
expr = let obj = makeExtensible (self: { foo = true; });
emptyComposition = composeManyExtensions [];
composed = obj.extend emptyComposition;
in composed.foo;
expected = true;
};

testComposeManyExtensions =
let f = self: super: { bar = false; baz = true; };
g = self: super: { bar = super.baz or false; };
h = self: super: { qux = super.bar or false; };
obj = makeExtensible (self: { foo = self.qux; });
in {
expr = let composition = composeManyExtensions [f g h];
composed = obj.extend composition;
in composed.foo;
expected = (obj.extend (composeExtensions f (composeExtensions g h))).foo;
};

testBitAnd = {
expr = (bitAnd 3 10);
expected = 2;
6 changes: 4 additions & 2 deletions lib/tests/systems.nix
Original file line number Diff line number Diff line change
@@ -11,12 +11,14 @@ let
expr = lib.sort lib.lessThan x;
expected = lib.sort lib.lessThan y;
};
in with lib.systems.doubles; lib.runTests {
testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded ++ js ++ genode ++ redox);
in
with lib.systems.doubles; lib.runTests {
testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded ++ mmix ++ js ++ genode ++ redox);

testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv6l-none" "armv7a-linux" "armv7l-linux" "arm-none" "armv7a-darwin" ];
testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-genode" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ];
testmips = mseteq mips [ "mipsel-linux" ];
testmmix = mseteq mmix [ "mmix-mmixware" ];
testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-genode" "x86_64-redox" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ];

testcygwin = mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ];
Loading