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: b0987f201337
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: 0214f9e25e83
Choose a head ref

Commits on Sep 18, 2018

  1. nix-pin: 0.3.4 -> 0.4.0

    timbertson committed Sep 18, 2018
    Copy the full SHA
    4200e68 View commit details

Commits on Sep 19, 2018

  1. Copy the full SHA
    6bb07ec View commit details
  2. i7z: simplify a bit

    dtzWill committed Sep 19, 2018
    Copy the full SHA
    9219580 View commit details
  3. Copy the full SHA
    6108d6a View commit details

Commits on Sep 20, 2018

  1. Copy the full SHA
    3afe748 View commit details
  2. scalafmt 1.4.0 -> 1.5.1

    AesaKamar committed Sep 20, 2018
    Copy the full SHA
    b914cf8 View commit details
  3. dockerTools.buildImage: support impure dates

    Because dates are an impurity, by default buildImage will use a static
    date of one second past the UNIX Epoch. This can be a bit frustrating
    when listing docker images in the CLI:
    
        $ docker image list
        REPOSITORY   TAG      IMAGE ID       CREATED        SIZE
        hello        latest   08c791c7846e   48 years ago   25.2MB
    
    If you want to trade the purity for a better user experience, you can
    set created to now.
    
        pkgs.dockerTools.buildImage {
          name = "hello";
          tag = "latest";
          created = "now";
          contents = pkgs.hello;
    
          config.Cmd = [ "/bin/hello" ];
        }
    
    and now the Docker CLI will display a reasonable date and sort the
    images as expected:
    
        $ docker image list
        REPOSITORY   TAG      IMAGE ID       CREATED              SIZE
        hello        latest   de2bf4786de6   About a minute ago   25.2MB
    graham-at-target authored and globin committed Sep 20, 2018
    Copy the full SHA
    a32d7e0 View commit details
  4. mopidy-iris: 3.25.1 -> 3.26.0

    Tomahna committed Sep 20, 2018
    Copy the full SHA
    7d20233 View commit details
  5. tint2: 16.4 -> 16.6.1 (#46994)

    romildo authored and xeji committed Sep 20, 2018
    Copy the full SHA
    0c63124 View commit details
  6. mediainfo: 18.08 -> 18.08.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/mediainfo/versions
    r-ryantm authored and globin committed Sep 20, 2018
    Copy the full SHA
    a454984 View commit details
  7. ncmpc: 0.30 -> 0.31

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/ncmpc/versions
    r-ryantm authored and fpletz committed Sep 20, 2018
    Copy the full SHA
    afa5e20 View commit details
  8. smcroute: 2.4.1 -> 2.4.2

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/smcroute/versions
    r-ryantm authored and fpletz committed Sep 20, 2018
    Copy the full SHA
    3222fe1 View commit details
  9. metabase: 0.30.1 -> 0.30.3

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/metabase/versions
    r-ryantm authored and globin committed Sep 20, 2018
    Copy the full SHA
    31ea743 View commit details
  10. libre: 0.5.8 -> 0.5.9

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libre/versions
    r-ryantm authored and globin committed Sep 20, 2018
    Copy the full SHA
    ae093d7 View commit details
  11. Copy the full SHA
    2735013 View commit details
  12. Copy the full SHA
    06daa1b View commit details
  13. Merge pull request #47008 from Tomahna/mopidy-iris

    mopidy-iris: 3.25.1 -> 3.26.0
    Mic92 authored Sep 20, 2018
    Copy the full SHA
    790a72d View commit details
  14. Merge pull request #46986 from AesaKamar/aesa/scalafmt/140-151

    scalafmt: 1.4.0 -> 1.5.1
    Mic92 authored Sep 20, 2018
    Copy the full SHA
    d2f1f32 View commit details
  15. Merge pull request #46982 from tkerber/fix-plug

    vim-utils: fix broken vim-plug implementation.
    Mic92 authored Sep 20, 2018
    Copy the full SHA
    9134d44 View commit details
  16. Merge pull request #46955 from timbertson/nix-pin

    nix-pin: 0.3.4 -> 0.4.0
    Mic92 authored Sep 20, 2018
    Copy the full SHA
    62aadba View commit details
  17. Merge pull request #47018 from romildo/upd.numix-icon-theme-circle

    numix-icon-theme-circle: 18-08-17 -> 18.09.19
    Mic92 authored Sep 20, 2018
    Copy the full SHA
    6cf4ecc View commit details
  18. doc/stdenv: libaries -> libraries (#47011)

    This commit corrects a minor typo in the stdenv portion of the
    documentation for the nix language.
    johnchildren authored and Mic92 committed Sep 20, 2018
    Copy the full SHA
    aec67d2 View commit details
  19. Merge pull request #47019 from romildo/upd.numix-icon-theme-square

    numix-icon-theme-square: 18-08-17 -> 18.09.19
    Mic92 authored Sep 20, 2018
    Copy the full SHA
    b51628a View commit details
  20. Copy the full SHA
    ce03af9 View commit details
  21. Merge pull request #46910 from dtzWill/update/i7z-0.27.3

    i7z: 0.27.2 -> 0.27.3, cleanup, various fixes, maintained fork, qt5
    xeji authored Sep 20, 2018
    Copy the full SHA
    9114d13 View commit details
  22. nixos/tests/gdk-pixbuf: fix test on i686 (#46916)

    Test didn't run because it tried to create a VM with 4096M RAM
    but qemu-system-i386 has a hard 2047M memory limit.
    - reduce memory to 2047M on i686.
    - increase timeout 300s -> 1800s because the tests are much slower
      on i686 and timed out.
    xeji authored Sep 20, 2018
    Copy the full SHA
    e40d850 View commit details
  23. perlPackages.Mojolicious: 7.88 -> 8.0

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Sep 20, 2018
    Copy the full SHA
    08815b9 View commit details
  24. perlPackages.MojoIOLoopForkCall: 0.19 -> 0.20

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Sep 20, 2018
    Copy the full SHA
    0214f9e View commit details
39 changes: 39 additions & 0 deletions doc/functions.xml
Original file line number Diff line number Diff line change
@@ -638,6 +638,45 @@ buildImage {
<literal>pkgs.cacert</literal> to <varname>contents</varname>.
</para>
</note>

<example xml:id="example-pkgs-dockerTools-buildImage-creation-date">
<title>Impurely Defining a Docker Layer's Creation Date</title>
<para>
Because dates are an impurity, by default
<function>buildImage</function> will use a static date of one
second past the UNIX Epoch. This can be a bit frustrating when
listing docker images in the CLI:
</para>
<screen><![CDATA[
$ docker image list
REPOSITORY TAG IMAGE ID CREATED SIZE
hello latest 08c791c7846e 48 years ago 25.2MB
]]></screen>
<para>
If you want to trade the purity for a better user experience,
you can set <literal>created</literal> to
<literal>now</literal>.
</para>
<programlisting><![CDATA[
pkgs.dockerTools.buildImage {
name = "hello";
tag = "latest";
created = "now";
contents = pkgs.hello;
config.Cmd = [ "/bin/hello" ];
}
]]></programlisting>
<para>
and now the Docker CLI will display a reasonable date and
sort the images as expected:
</para>
<screen><![CDATA[
$ docker image list
REPOSITORY TAG IMAGE ID CREATED SIZE
hello latest de2bf4786de6 About a minute ago 25.2MB
]]></screen>
</example>
</section>

<section xml:id="ssec-pkgs-dockerTools-fetchFromRegistry">
2 changes: 1 addition & 1 deletion doc/stdenv.xml
Original file line number Diff line number Diff line change
@@ -2129,7 +2129,7 @@ someVar=$(stripHash $name)
The most typical use of the setup hook is actually to add other hooks which
are then run (i.e. after all the setup hooks) on each dependency. For
example, the C compiler wrapper's setup hook feeds itself flags for each
dependency that contains relevant libaries and headers. This is done by
dependency that contains relevant libraries and headers. This is done by
defining a bash function, and appending its name to one of
<envar>envBuildBuildHooks</envar>`, <envar>envBuildHostHooks</envar>`,
<envar>envBuildTargetHooks</envar>`, <envar>envHostHostHooks</envar>`,
6 changes: 4 additions & 2 deletions nixos/tests/gdk-pixbuf.nix
Original file line number Diff line number Diff line change
@@ -10,10 +10,12 @@ import ./make-test.nix ({ pkgs, ... }: {
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
environment.variables.XDG_DATA_DIRS = [ "${pkgs.gdk_pixbuf.installedTests}/share" ];

virtualisation.memorySize = 4096; # Tests allocate a lot of memory trying to exploit a CVE
# Tests allocate a lot of memory trying to exploit a CVE
# but qemu-system-i386 has a 2047M memory limit
virtualisation.memorySize = if pkgs.stdenv.isi686 then 2047 else 4096;
};

testScript = ''
$machine->succeed("gnome-desktop-testing-runner");
$machine->succeed("gnome-desktop-testing-runner -t 1800"); # increase timeout to 1800s
'';
})
4 changes: 2 additions & 2 deletions pkgs/applications/audio/mopidy/iris.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Iris";
version = "3.25.1";
version = "3.26.0";

src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "148ksv87lw3l3dwncmlq8qzv6xik29axdgaljdcp0g4pd98a7dlk";
sha256 = "0yd52dlm0qh3ycqxhxhiw52111wa87b7wlxbwdj5p9an5yqnkkvy";
};

propagatedBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/applications/audio/ncmpc/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
name = "ncmpc-${version}";
version = "0.30";
version = "0.31";

src = fetchFromGitHub {
owner = "MusicPlayerDaemon";
repo = "ncmpc";
rev = "v${version}";
sha256 = "0s2bynm5szrk8bjhg200mvsm2ny0wz9s10nx7r69y9y4jsxr8624";
sha256 = "09h1m9rkk89729i2d5zsfdc6rxajvikgsi3h99rwz2192gm457rj";
};

buildInputs = [ glib ncurses mpd_clientlib ];
4 changes: 2 additions & 2 deletions pkgs/applications/misc/mediainfo/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, zlib }:

stdenv.mkDerivation rec {
version = "18.08";
version = "18.08.1";
name = "mediainfo-${version}";
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
sha256 = "0l4bhrgwfn3da6cr0jz5vs17sk7k0bc26nk7hymv04xifns5999n";
sha256 = "0rq2dczjq26g5i0ac8px7xmxjvqq4h0rzd97fy5824yb2c5ksxs9";
};

nativeBuildInputs = [ autoreconfHook pkgconfig ];
16 changes: 7 additions & 9 deletions pkgs/applications/misc/tint2/default.nix
Original file line number Diff line number Diff line change
@@ -6,13 +6,13 @@

stdenv.mkDerivation rec {
name = "tint2-${version}";
version = "16.4";
version = "16.6.1";

src = fetchFromGitLab {
owner = "o9000";
repo = "tint2";
rev = version;
sha256 = "1h9l45zimai2hqfcf2y98g4i03imhmvm3mlsld9x99i650kxr5jm";
sha256 = "1h5bn4vi7gffwi4mpwpn0s6vxvl44rn3m9b23w8q9zyz9v24flz7";
};

enableParallelBuilding = true;
@@ -24,20 +24,18 @@ stdenv.mkDerivation rec {
libXdmcp libstartup_notification hicolor-icon-theme ];

postPatch = ''
substituteInPlace CMakeLists.txt --replace /etc $out/etc
for f in ./src/launcher/apps-common.c \
./src/launcher/icon-theme-common.c \
./themes/*tint2rc
./src/launcher/icon-theme-common.c
do
substituteInPlace $f --replace /usr/share/ /run/current-system/sw/share/
done
'';

meta = {
meta = with stdenv.lib; {
homepage = https://gitlab.com/o9000/tint2;
description = "Simple panel/taskbar unintrusive and light (memory, cpu, aestetic)";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.romildo ];
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.romildo ];
};
}
19 changes: 13 additions & 6 deletions pkgs/build-support/docker/default.nix
Original file line number Diff line number Diff line change
@@ -450,11 +450,18 @@ rec {
baseName = baseNameOf name;

# Create a JSON blob of the configuration. Set the date to unix zero.
baseJson = writeText "${baseName}-config.json" (builtins.toJSON {
inherit created config;
architecture = "amd64";
os = "linux";
});
baseJson = let
pure = writeText "${baseName}-config.json" (builtins.toJSON {
inherit created config;
architecture = "amd64";
os = "linux";
});
impure = runCommand "${baseName}-config.json"
{ buildInputs = [ jq ]; }
''
jq ".created = \"$(TZ=utc date --iso-8601="seconds")\"" ${pure} > $out
'';
in if created == "now" then impure else pure;

layer =
if runAsRoot == null
@@ -577,7 +584,7 @@ rec {
currentID=$layerID
while [[ -n "$currentID" ]]; do
layerChecksum=$(sha256sum image/$currentID/layer.tar | cut -d ' ' -f1)
imageJson=$(echo "$imageJson" | jq ".history |= [{\"created\": \"${created}\"}] + .")
imageJson=$(echo "$imageJson" | jq ".history |= [{\"created\": \"$(jq -r .created ${baseJson})\"}] + .")
imageJson=$(echo "$imageJson" | jq ".rootfs.diff_ids |= [\"sha256:$layerChecksum\"] + .")
manifestJson=$(echo "$manifestJson" | jq ".[0].Layers |= [\"$currentID/layer.tar\"] + .")
4 changes: 2 additions & 2 deletions pkgs/data/icons/numix-icon-theme-circle/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gtk3, numix-icon-theme }:

stdenv.mkDerivation rec {
version = "18.08.17";
version = "18.09.19";

package-name = "numix-icon-theme-circle";

@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
owner = "numixproject";
repo = package-name;
rev = version;
sha256 = "1nxgm5vf2rzbg8qh48iy0vdj12ffahlp9qhj8h0k1li03s3nf15h";
sha256 = "1a1ack4kpngnb3c281pssmp3snn2idcn2c5cv3l38a0dl5g5w8nq";
};

nativeBuildInputs = [ gtk3 numix-icon-theme ];
4 changes: 2 additions & 2 deletions pkgs/data/icons/numix-icon-theme-square/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
package-name = "numix-icon-theme-square";
version = "18.08.17";
version = "18.09.19";

src = fetchFromGitHub {
owner = "numixproject";
repo = package-name;
rev = version;
sha256 = "0pn5m73zd240bk2kilcgv57xn7grhbcj5ay4w1jzzn1f4ifaa0w8";
sha256 = "0q5p901qj3gyzgpy5kk9q5sqb13ka5cfg6wvazlfch1k3kaqksz1";
};

nativeBuildInputs = [ gtk3 numix-icon-theme ];
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ocaml/generic.nix
Original file line number Diff line number Diff line change
@@ -90,7 +90,7 @@ stdenv.mkDerivation (args // rec {
'';

platforms = with platforms; linux ++ darwin;
broken = stdenv.isAarch64 && !stdenv.lib.versionAtLeast major_version "4.06";
broken = stdenv.isAarch64 && !stdenv.lib.versionAtLeast version "4.06";
};

})
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libre/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{stdenv, fetchurl, zlib, openssl}:
stdenv.mkDerivation rec {
version = "0.5.8";
version = "0.5.9";
name = "libre-${version}";
src = fetchurl {
url = "http://www.creytiv.com/pub/re-${version}.tar.gz";
sha256 = "0w0f8j43j0nzgvkmv3ayzrssppgjmsh6z8mpa5iqsz8nv99dc3qr";
sha256 = "04lnnlhifzyhv231abgnzvfzq21xhsal3lnimncp1q3pmrfa0aw8";
};
buildInputs = [ zlib openssl ];
makeFlags = [ "USE_ZLIB=1" "USE_OPENSSL=1" "PREFIX=$(out)" ]
4 changes: 2 additions & 2 deletions pkgs/development/tools/scalafmt/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

let
baseName = "scalafmt";
version = "1.4.0";
version = "1.5.1";
deps = stdenv.mkDerivation {
name = "${baseName}-deps-${version}";
buildCommand = ''
@@ -13,7 +13,7 @@ let
'';
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "12hsix3b7qnyr9x2v7i6jgqljdqxpfj4bfvhjdl99ijr793g3lnp";
outputHash = "15xfys9wdlx3rrqb2ab6qcfngkf6sa8v8q8shh10kk8jrc30g6dk";
};
in
stdenv.mkDerivation rec {
4 changes: 2 additions & 2 deletions pkgs/misc/vim-plugins/vim-utils.nix
Original file line number Diff line number Diff line change
@@ -198,14 +198,14 @@ let
/* vim-plug is an extremely popular vim plugin manager.
*/
plugImpl = lib.optionalString (plug != null)
''
(''
source ${vimPlugins.vim-plug.rtp}/plug.vim
call plug#begin('/dev/null')
'' + (lib.concatMapStringsSep "\n" (pkg: "Plug '${pkg.rtp}'") plug.plugins) + ''
call plug#end()
'';
'');

/*
vim-addon-manager = VAM
62 changes: 33 additions & 29 deletions pkgs/os-specific/linux/i7z/default.nix
Original file line number Diff line number Diff line change
@@ -1,51 +1,55 @@
{ stdenv, lib, fetchurl, ncurses
, withGui ? false, qt4 ? null }:
{ stdenv, lib, fetchFromGitHub, fetchpatch, ncurses
, withGui ? false, qtbase }:

stdenv.mkDerivation rec {
name = "i7z-0.27.2";

src = fetchurl {
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/i7z/${name}.tar.gz";
sha256 = "1wa7ix6m75wl3k2n88sz0x8cckvlzqklja2gvzqfw5rcfdjjvxx7";
name = "i7z-${version}";
version = "0.27.3";

src = fetchFromGitHub {
owner = "DimitryAndric";
repo = "i7z";
rev = "v${version}";
sha256 = "0l8wz0ffb27nkwchc606js652spk8masy3kjmzh7ygipwsary5ds";
};

buildInputs = [ ncurses ] ++ lib.optional withGui qt4;
buildInputs = [ ncurses ] ++ lib.optional withGui qtbase;

patches = [
(fetchpatch {
url = "https://salsa.debian.org/debian/i7z/raw/ad1359764ee7a860a02e0c972f40339058fa9369/debian/patches/fix-insecure-tempfile.patch";
sha256 = "0ifg06xjw14y4fnzzgkhqm4sv9mcdzgi8m2wffq9z8b1r0znya3s";
})
(fetchpatch {
url = "https://salsa.debian.org/debian/i7z/raw/ad1359764ee7a860a02e0c972f40339058fa9369/debian/patches/nehalem.patch";
sha256 = "1ys6sgm01jkqb6d4y7qc3h89dzph8jjjcfya5c5jcm7dkxlzjq8a";
})
(fetchpatch {
url = "https://salsa.debian.org/debian/i7z/raw/ad1359764ee7a860a02e0c972f40339058fa9369/debian/patches/hyphen-used-as-minus-sign.patch";
sha256 = "1ji2qvdyq0594cpqz0dlsfggvw3rm63sygh0jxvwjgxpnhykhg1p";
})
./qt5.patch
];

enableParallelBuilding = true;

buildPhase = ''
runHook preBuild
make
${lib.optionalString withGui ''
postBuild = lib.optionalString withGui ''
cd GUI
qmake
make clean
make
cd ..
''}
runHook postBuild
'';

installPhase = ''
runHook preInstall
mkdir -p $out/{bin,sbin}
make install prefix=$out
${lib.optionalString withGui ''
install -Dm755 GUI/i7z_GUI $out/bin/i7z-gui
''}
mv $out/sbin/* $out/bin/
rmdir $out/sbin
makeFlags = [ "prefix=${placeholder "out"}" ];

runHook postInstall
postInstall = lib.optionalString withGui ''
install -Dm755 GUI/i7z_GUI $out/bin/i7z-gui
'';

meta = with lib; {
description = "A better i7 (and now i3, i5) reporting tool for Linux";
homepage = https://github.com/ajaiantilal/i7z;
repositories.git = https://github.com/ajaiantilal/i7z.git;
homepage = https://github.com/DimitryAndric/i7z;
repositories.git = https://github.com/DimitryAndric/i7z.git;
license = licenses.gpl2;
maintainers = with maintainers; [ bluescreen303 ];
# broken on ARM
13 changes: 13 additions & 0 deletions pkgs/os-specific/linux/i7z/qt5.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff -Naur a/GUI/i7z_GUI.pro b/GUI/i7z_GUI.pro
--- a/GUI/i7z_GUI.pro 2013-10-12 21:59:19.000000000 +0100
+++ b/GUI/i7z_GUI.pro 2016-11-05 13:54:30.118655672 +0000
@@ -3,7 +3,8 @@
######################################################################

TEMPLATE = app
-TARGET =
+TARGET = i7z_GUI
+QT += widgets
DEPENDPATH += .
INCLUDEPATH += .
CONFIG += debug
4 changes: 2 additions & 2 deletions pkgs/servers/metabase/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "metabase-${version}";
version = "0.30.1";
version = "0.30.3";

src = fetchurl {
url = "http://downloads.metabase.com/v${version}/metabase.jar";
sha256 = "13035yhbhsr4xg48hanbf8qchwyk6j59c90qkbjr914xcyvj6scc";
sha256 = "1w8886xkg88r8dla4l9kpxw2rwwjx23y1dk5rgfgh1vcw8da8cn4";
};

nativeBuildInputs = [ makeWrapper ];
Loading