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: 05659962cd8c
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: e40d850fd13c
Choose a head ref

Commits on Sep 11, 2018

  1. installer: refactor

    worldofpeace committed Sep 11, 2018
    Copy the full SHA
    2430a13 View commit details

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. haskellPackages.sbv: fix location of z3 executable

    A lot of the functionality of the z3 library depends on it being able to
    find the z3 executable on $PATH. Hard-coding it here means it will never
    be unable to find it and z3 doesn't need to pollute $PATH.
    Nathan van Doorn committed Sep 20, 2018
    Copy the full SHA
    c8598da View commit details
  2. Merge pull request #46956 from Taneb/sbv-fix-z3

    haskellPackages.sbv: fix location of z3 executable
    basvandijk authored Sep 20, 2018
    Copy the full SHA
    b204298 View commit details
  3. rdma-core: 19 -> 20

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/rdma-core/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    069cfb5 View commit details
  4. pulseeffects: 4.3.4 -> 4.3.5

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pulseeffects/versions
    r-ryantm committed Sep 20, 2018
    Copy the full SHA
    8eba699 View commit details
  5. Copy the full SHA
    3afe748 View commit details
  6. Merge pull request #46976 from r-ryantm/auto-update/pulseeffects

    pulseeffects: 4.3.4 -> 4.3.5
    jtojnar authored Sep 20, 2018
    Copy the full SHA
    95a6df0 View commit details
  7. linux: 4.4.156 -> 4.4.157

    NeQuissimus committed Sep 20, 2018
    Copy the full SHA
    7ead7a4 View commit details
  8. linux: 4.9.127 -> 4.9.128

    NeQuissimus committed Sep 20, 2018
    Copy the full SHA
    5509a39 View commit details
  9. linux: 4.14.70 -> 4.14.71

    NeQuissimus committed Sep 20, 2018
    Copy the full SHA
    28fee11 View commit details
  10. linux: 4.18.8 -> 4.18.9

    NeQuissimus committed Sep 20, 2018
    Copy the full SHA
    7d30b3d View commit details
  11. scalafmt 1.4.0 -> 1.5.1

    AesaKamar committed Sep 20, 2018
    Copy the full SHA
    b914cf8 View commit details
  12. Merge pull request #46969 from r-ryantm/auto-update/rdma-core

    rdma-core: 19 -> 20
    ryantm authored Sep 20, 2018
    Copy the full SHA
    23efdac View commit details
  13. Copy the full SHA
    b0987f2 View commit details
  14. 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
  15. mopidy-iris: 3.25.1 -> 3.26.0

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

    romildo authored and xeji committed Sep 20, 2018
    Copy the full SHA
    0c63124 View commit details
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. Copy the full SHA
    2735013 View commit details
  23. Copy the full SHA
    06daa1b View commit details
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. Copy the full SHA
    ce03af9 View commit details
  32. 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
  33. 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
Showing with 215 additions and 194 deletions.
  1. +39 −0 doc/functions.xml
  2. +1 −1 doc/stdenv.xml
  3. +49 −0 nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
  4. +3 −60 nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix
  5. +9 −38 nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
  6. +4 −2 nixos/tests/gdk-pixbuf.nix
  7. +2 −2 pkgs/applications/audio/mopidy/iris.nix
  8. +2 −2 pkgs/applications/audio/ncmpc/default.nix
  9. +2 −2 pkgs/applications/audio/pulseeffects/default.nix
  10. +2 −2 pkgs/applications/misc/mediainfo/default.nix
  11. +7 −9 pkgs/applications/misc/tint2/default.nix
  12. +13 −6 pkgs/build-support/docker/default.nix
  13. +2 −2 pkgs/data/icons/numix-icon-theme-circle/default.nix
  14. +2 −2 pkgs/data/icons/numix-icon-theme-square/default.nix
  15. +1 −1 pkgs/development/compilers/ocaml/generic.nix
  16. +6 −0 pkgs/development/haskell-modules/configuration-nix.nix
  17. +2 −2 pkgs/development/libraries/libre/default.nix
  18. +2 −2 pkgs/development/tools/scalafmt/default.nix
  19. +2 −2 pkgs/misc/vim-plugins/vim-utils.nix
  20. +33 −29 pkgs/os-specific/linux/i7z/default.nix
  21. +13 −0 pkgs/os-specific/linux/i7z/qt5.patch
  22. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  23. +2 −2 pkgs/os-specific/linux/kernel/linux-4.18.nix
  24. +2 −2 pkgs/os-specific/linux/kernel/linux-4.4.nix
  25. +2 −2 pkgs/os-specific/linux/kernel/linux-4.9.nix
  26. +2 −2 pkgs/os-specific/linux/rdma-core/default.nix
  27. +2 −2 pkgs/servers/metabase/default.nix
  28. +2 −2 pkgs/servers/smcroute/default.nix
  29. +4 −3 pkgs/tools/package-management/nix-pin/default.nix
  30. +1 −13 pkgs/top-level/all-packages.nix
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>`,
49 changes: 49 additions & 0 deletions nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This module contains the basic configuration for building a graphical NixOS
# installation CD.

{ config, lib, pkgs, ... }:

with lib;

{
imports = [ ./installation-cd-base.nix ];

services.xserver = {
enable = true;

# Don't start the X server by default.
autorun = mkForce false;

# Automatically login as root.
displayManager.slim = {
enable = true;
defaultUser = "root";
autoLogin = true;
};

};

# Provide networkmanager for easy wireless configuration.
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;

# KDE complains if power management is disabled (to be precise, if
# there is no power management backend such as upower).
powerManagement.enable = true;

environment.systemPackages = [
# Include gparted for partitioning disks.
pkgs.gparted

# Include some editors.
pkgs.vim
pkgs.bvi # binary editor
pkgs.joe

# Firefox for reading the manual.
pkgs.firefox

pkgs.glxinfo
];

}
63 changes: 3 additions & 60 deletions nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix
Original file line number Diff line number Diff line change
@@ -6,73 +6,16 @@
with lib;

{
imports = [ ./installation-cd-base.nix ];
imports = [ ./installation-cd-graphical-base.nix ];

services.xserver = {
enable = true;
# GDM doesn't start in virtual machines with ISO
displayManager.slim = {
enable = true;
defaultUser = "root";
autoLogin = true;
};
desktopManager.gnome3 = {
enable = true;
extraGSettingsOverrides = ''
[org.gnome.desktop.background]
show-desktop-icons=true
[org.gnome.nautilus.desktop]
trash-icon-visible=false
volumes-visible=false
home-icon-visible=false
network-icon-visible=false
'';

extraGSettingsOverridePackages = [ pkgs.gnome3.nautilus ];
};
};

environment.systemPackages =
[ # Include gparted for partitioning disks.
pkgs.gparted
services.xserver.desktopManager.gnome3.enable = true;

# Include some editors.
pkgs.vim
pkgs.bvi # binary editor
pkgs.joe

pkgs.glxinfo
];

# Don't start the X server by default.
services.xserver.autorun = mkForce false;
services.xserver.displayManager.slim.enable = mkForce false;

# Auto-login as root.
services.xserver.displayManager.gdm.autoLogin = {
enable = true;
user = "root";
};

system.activationScripts.installerDesktop = let
# Must be executable
desktopFile = pkgs.writeScript "nixos-manual.desktop" ''
[Desktop Entry]
Version=1.0
Type=Link
Name=NixOS Manual
URL=${config.system.build.manual.manual}/share/doc/nixos/index.html
Icon=system-help
'';

# use cp and chmod +x, we must be sure the apps are in the nix store though
in ''
mkdir -p /root/Desktop
ln -sfT ${desktopFile} /root/Desktop/nixos-manual.desktop
cp ${pkgs.gnome3.gnome-terminal}/share/applications/gnome-terminal.desktop /root/Desktop/gnome-terminal.desktop
chmod a+rx /root/Desktop/gnome-terminal.desktop
cp ${pkgs.gparted}/share/applications/gparted.desktop /root/Desktop/gparted.desktop
chmod a+rx /root/Desktop/gparted.desktop
'';

}
47 changes: 9 additions & 38 deletions nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
Original file line number Diff line number Diff line change
@@ -1,23 +1,14 @@
# This module defines a NixOS installation CD that contains X11 and
# KDE 5.
# Plasma5.

{ config, lib, pkgs, ... }:

with lib;

{
imports = [ ./installation-cd-base.nix ];
imports = [ ./installation-cd-graphical-base.nix ];

services.xserver = {
enable = true;

# Automatically login as root.
displayManager.slim = {
enable = true;
defaultUser = "root";
autoLogin = true;
};

desktopManager.plasma5 = {
enable = true;
enableQt4Support = false;
@@ -27,34 +18,14 @@ with lib;
synaptics.enable = true;
};

environment.systemPackages =
[ pkgs.glxinfo

# Include gparted for partitioning disks.
pkgs.gparted

# Firefox for reading the manual.
pkgs.firefox

# Include some editors.
pkgs.vim
pkgs.bvi # binary editor
pkgs.joe
];

# Provide networkmanager for easy wireless configuration.
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;

# KDE complains if power management is disabled (to be precise, if
# there is no power management backend such as upower).
powerManagement.enable = true;

# Don't start the X server by default.
services.xserver.autorun = mkForce false;
environment.systemPackages = with pkgs; [
# Graphical text editor
kate
];

system.activationScripts.installerDesktop = let
desktopFile = pkgs.writeText "nixos-manual.desktop" ''

manualDesktopFile = pkgs.writeScript "nixos-manual.desktop" ''
[Desktop Entry]
Version=1.0
Type=Application
@@ -65,7 +36,7 @@ with lib;

in ''
mkdir -p /root/Desktop
ln -sfT ${desktopFile} /root/Desktop/nixos-manual.desktop
ln -sfT ${manualDesktopFile} /root/Desktop/nixos-manual.desktop
ln -sfT ${pkgs.konsole}/share/applications/org.kde.konsole.desktop /root/Desktop/org.kde.konsole.desktop
ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop /root/Desktop/gparted.desktop
'';
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/audio/pulseeffects/default.nix
Original file line number Diff line number Diff line change
@@ -44,13 +44,13 @@ let
];
in stdenv.mkDerivation rec {
name = "pulseeffects-${version}";
version = "4.3.4";
version = "4.3.5";

src = fetchFromGitHub {
owner = "wwmm";
repo = "pulseeffects";
rev = "v${version}";
sha256 = "0gyyqxfmmp6hbwc10i48sxrgdxansm3vsbwgc6rh89clxwcnfiml";
sha256 = "01jxkz4s3m8cqsn6wcbrw7bzr7sr7hqsp9950018riilpni7k4bd";
};

nativeBuildInputs = [
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 ];
};
}
Loading