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: 56fb68dcef49
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: ea145b68a019
Choose a head ref
  • 19 commits
  • 19 files changed
  • 11 contributors

Commits on Mar 17, 2018

  1. snabb: 2016.04 -> 2018.01.2

    xeji committed Mar 17, 2018
    Copy the full SHA
    788ed0e View commit details

Commits on Mar 23, 2018

  1. telepathy-gabble: fix source URL

    upstream changed it
    xeji committed Mar 23, 2018
    Copy the full SHA
    abc0bf2 View commit details
  2. docker: 18.02 -> 18.03

    NeQuissimus committed Mar 23, 2018
    Copy the full SHA
    b072dcf View commit details

Commits on Mar 24, 2018

  1. libsForQt5.qtspeech: enable

    globin committed Mar 24, 2018
    Copy the full SHA
    8a244db View commit details
  2. qgroundcontrol: 3.2.7 -> 3.3.0

    globin committed Mar 24, 2018
    Copy the full SHA
    1b27260 View commit details
  3. Copy the full SHA
    20f5192 View commit details
  4. jsduck: fix build

    json 1.8.3 is broken with ruby 2.4
    globin committed Mar 24, 2018
    Copy the full SHA
    f59a544 View commit details
  5. qscreenshot: fix darwin build

    /cc ZHF #36454
    LnL7 committed Mar 24, 2018
    Copy the full SHA
    b5b77a6 View commit details
  6. CODEOWNERS: Add Profpatsch to /lib/generators.nix

    I’d like to be notified of changes so I can ensure the API always follows the same patterns.
    
    Later (more specific) files replace more general codeowners [according to the documentation](https://help.github.com/articles/about-codeowners/), so I also listed `edolstra` and `nbp` again.
    Profpatsch authored and nbp committed Mar 24, 2018
    Copy the full SHA
    99f2b33 View commit details
  7. Copy the full SHA
    7110d4a View commit details
  8. Copy the full SHA
    50dc85e View commit details
  9. Copy the full SHA
    902b3a1 View commit details
  10. Copy the full SHA
    3131daa View commit details
  11. ghc: Disable on AArch64

    For some reason compiling the proper GHC from the binary one eventually
    segfaults at some point.
    
    Since it has never worked, just disable it and investigate later.
    dezgeg committed Mar 24, 2018
    Copy the full SHA
    a6425fc View commit details
  12. browserpass: 2.0.13 -> 2.0.17

    fpletz committed Mar 24, 2018
    Copy the full SHA
    8df9cf5 View commit details
  13. openra: 20180218 -> 20180307

    fpletz committed Mar 24, 2018
    Copy the full SHA
    204a029 View commit details
  14. Merge pull request #37713 from NeQuissimus/docker_18_03

    docker: 18.02 -> 18.03
    NeQuissimus authored Mar 24, 2018
    Copy the full SHA
    62b3507 View commit details
  15. acme module: update for simp_le v0.8

    Hopefully fixes #37689
    wmertens authored Mar 24, 2018
    Copy the full SHA
    527e97f View commit details
  16. Merge pull request #37733 from NixOS/acme-fix

    acme module: update for simp_le v0.8
    wmertens authored Mar 24, 2018
    Copy the full SHA
    ea145b6 View commit details
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@
# Libraries
/lib @edolstra @nbp
/lib/systems @nbp @ericson2314
/lib/generators.nix @edolstra @nbp @Profpatsch

# Nixpkgs Internals
/default.nix @nbp
1 change: 1 addition & 0 deletions lib/systems/for-meta.nix
Original file line number Diff line number Diff line change
@@ -13,6 +13,7 @@ in rec {
i686 = [ patterns.isi686 ];
x86_64 = [ patterns.isx86_64 ];
mips = [ patterns.isMips ];
riscv = [ patterns.isRiscV ];

cygwin = [ patterns.isCygwin ];
darwin = [ patterns.isDarwin ];
10 changes: 1 addition & 9 deletions nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
@@ -140,14 +140,6 @@ in
'';
};

tosHash = mkOption {
type = types.string;
default = "cc88d8d9517f490191401e7b54e9ffd12a2b9082ec7a1d4cec6101f9f1647e7b";
description = ''
SHA256 of the Terms of Services document. This changes once in a while.
'';
};

production = mkOption {
type = types.bool;
default = true;
@@ -196,7 +188,7 @@ in
let
cpath = "${cfg.directory}/${cert}";
rights = if data.allowKeysForGroup then "750" else "700";
cmdline = [ "-v" "-d" data.domain "--default_root" data.webroot "--valid_min" cfg.validMin "--tos_sha256" cfg.tosHash ]
cmdline = [ "-v" "-d" data.domain "--default_root" data.webroot "--valid_min" cfg.validMin ]
++ optionals (data.email != null) [ "--email" data.email ]
++ concatMap (p: [ "-f" p ]) data.plugins
++ concatLists (mapAttrsToList (name: root: [ "-d" (if root == null then name else "${name}:${root}")]) data.extraDomains)
5 changes: 3 additions & 2 deletions nixos/tests/installer.nix
Original file line number Diff line number Diff line change
@@ -80,8 +80,9 @@ let
+ optionalString isEfi (if pkgs.stdenv.isAarch64
then ''bios => "${pkgs.OVMF.fd}/FV/QEMU_EFI.fd", ''
else ''bios => "${pkgs.OVMF.fd}/FV/OVMF.fd", '');
in
''
in if !isEfi && !(pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
throw "Non-EFI boot methods are only supported on i686 / x86_64"
else ''
$machine->start;
# Make sure that we get a login prompt etc.
5 changes: 3 additions & 2 deletions pkgs/applications/graphics/qscreenshot/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, dos2unix, which, qt }:
{ stdenv, fetchurl, dos2unix, which, qt, Carbon }:

stdenv.mkDerivation rec {
name = "qscreenshot-1.0";
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "1spj5fg2l8p5bk81xsv6hqn1kcrdiy54w19jsfb7g5i94vcb1pcx";
};

buildInputs = [ dos2unix which qt ];
buildInputs = [ dos2unix which qt ]
++ stdenv.lib.optional stdenv.isDarwin Carbon;

# Remove carriage returns that cause /bin/sh to abort
preConfigure = ''
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
name = "telepathy-gabble-0.18.3";

src = fetchurl {
url = "${meta.homepage}/releases/telepathy-gabble/${name}.tar.gz";
url = "http://telepathy.freedesktop.org/releases/telepathy-gabble/${name}.tar.gz";
sha256 = "1hl9k6jwn2afwwv7br16wfw5szdhwxqziba47xd8vjwvgrh19iwf";
};

8 changes: 4 additions & 4 deletions pkgs/applications/science/robotics/qgroundcontrol/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv, fetchgit, git, espeak, SDL2, udev, doxygen, cmake
, qtbase, qtlocation, qtserialport, qtdeclarative, qtconnectivity, qtxmlpatterns
, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmake
, qtsvg, qtquick1, qtquickcontrols, qtgraphicaleffects, qmake, qtspeech
, makeWrapper, lndir
, gst_all_1, qt-gstreamer1, pkgconfig, glibc
}:

stdenv.mkDerivation rec {
name = "qgroundcontrol-${version}";
version = "3.2.7";
version = "3.3.0";

qtInputs = [
qtbase qtlocation qtserialport qtdeclarative qtconnectivity qtxmlpatterns qtsvg
qtquick1 qtquickcontrols qtgraphicaleffects
qtquick1 qtquickcontrols qtgraphicaleffects qtspeech
];

gstInputs = with gst_all_1; [
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
src = fetchgit {
url = "https://github.com/mavlink/qgroundcontrol.git";
rev = "refs/tags/v${version}";
sha256 = "1sla3sgj2p3h87d7kcaj53f8z5xzyadvsqlqzgh4d2n1f7sikdc5";
sha256 = "0abjm0wywp24qlgg9w8g35ijprjg5csq4fgba9caaiwvmpfbhmpw";
fetchSubmodules = true;
};

32 changes: 10 additions & 22 deletions pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
@@ -195,28 +195,16 @@ rec {
});

# Get revisions from
# https://github.com/docker/docker-ce/blob/v${version}/components/engine/hack/dockerfile/binaries-commits

docker_17_12 = dockerGen rec {
version = "17.12.1-ce";
rev = "7390fc6103da41cf98ae66cfac80fa143268bf60"; # git commit
sha256 = "14pz5yqsjypjb6xiq828jrg9aq7wajrrf3mnd9109lw224p03d8i";
runcRev = "9f9c96235cc97674e935002fc3d78361b696a69e";
runcSha256 = "18f8vqdbf685dd777pjh8jzpxafw2vapqh4m43xgyi7lfwa0gsln";
containerdRev = "9b55aab90508bd389d7654c4baf173a981477d55";
containerdSha256 = "0kfafqi66yp4qy738pl11f050hfrx9m4kc670qpx7fmf9ii7q6p2";
tiniRev = "949e6facb77383876aeff8a6944dde66b3089574";
tiniSha256 = "0zj4kdis1vvc6dwn4gplqna0bs7v6d1y2zc8v80s3zi018inhznw";
};

docker_18_02 = dockerGen rec {
version = "18.02.0-ce";
rev = "fc4de447b563498eb4da89f56fb858bbe761d91b"; # git commit
sha256 = "1025cwv2niiwg5pc30nb1qky1raisvd9ix2qw6rdib232hwq9k8m";
runcRev = "9f9c96235cc97674e935002fc3d78361b696a69e";
runcSha256 = "18f8vqdbf685dd777pjh8jzpxafw2vapqh4m43xgyi7lfwa0gsln";
containerdRev = "9b55aab90508bd389d7654c4baf173a981477d55";
containerdSha256 = "0kfafqi66yp4qy738pl11f050hfrx9m4kc670qpx7fmf9ii7q6p2";
# https://github.com/docker/docker-ce/tree/v${version}/components/engine/hack/dockerfile/install/*

docker_18_03 = dockerGen rec {
version = "18.03.0-ce";
rev = "0520e243029d1361649afb0706a1c5d9a1c012b8"; # git commit
sha256 = "0dq7kf30k6p5m9qrzskfx0rxsx22f7yvxzij6vv1g70pggzacs4g";
runcRev = "4fc53a81fb7c994640722ac585fa9ca548971871";
runcSha256 = "1ikqw39jn8dzb4snc4pcg3z85jb67ivskdhx028k17ss29bf4062";
containerdRev = "cfd04396dc68220d1cecbe686a6cc3aa5ce3667c";
containerdSha256 = "1x6mmk69jksh4m9rjd8qwpp0qc7jmimpkq9pw9237p0v63p9yci0";
tiniRev = "949e6facb77383876aeff8a6944dde66b3089574";
tiniSha256 = "0zj4kdis1vvc6dwn4gplqna0bs7v6d1y2zc8v80s3zi018inhznw";
};
3 changes: 2 additions & 1 deletion pkgs/development/compilers/ghc/8.2.1-binary.nix
Original file line number Diff line number Diff line change
@@ -158,5 +158,6 @@ stdenv.mkDerivation rec {
passthru = { targetPrefix = ""; };

meta.license = stdenv.lib.licenses.bsd3;
meta.platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "armv7l-linux" "aarch64-linux"];
# AArch64 should work in theory but eventually some builds start segfaulting
meta.platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "armv7l-linux" /* "aarch64-linux" */];
}
1 change: 1 addition & 0 deletions pkgs/development/libraries/qt-5/5.10/default.nix
Original file line number Diff line number Diff line change
@@ -90,6 +90,7 @@ let
qtscript = callPackage ../modules/qtscript.nix {};
qtsensors = callPackage ../modules/qtsensors.nix {};
qtserialport = callPackage ../modules/qtserialport.nix {};
qtspeech = callPackage ../modules/qtspeech.nix {};
qtsvg = callPackage ../modules/qtsvg.nix {};
qttools = callPackage ../modules/qttools.nix {};
qttranslations = callPackage ../modules/qttranslations.nix {};
7 changes: 7 additions & 0 deletions pkgs/development/libraries/qt-5/modules/qtspeech.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{ qtModule }:

qtModule {
name = "qtspeech";
qtInputs = [ ];
outputs = [ "out" "dev" "bin" ];
}
2 changes: 1 addition & 1 deletion pkgs/development/tools/jsduck/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ GEM
parallel (~> 0.7.1)
rdiscount (~> 2.1.6)
rkelly-remix (~> 0.0.4)
json (1.8.3)
json (1.8.6)
parallel (0.7.1)
rdiscount (2.1.8)
rkelly-remix (0.0.7)
6 changes: 3 additions & 3 deletions pkgs/development/tools/jsduck/gemset.nix
Original file line number Diff line number Diff line change
@@ -19,10 +19,10 @@
json = {
source = {
remotes = ["https://rubygems.org"];
sha256 = "1nsby6ry8l9xg3yw4adlhk2pnc7i0h0rznvcss4vk3v74qg0k8lc";
sha256 = "0qmj7fypgb9vag723w1a49qihxrcf5shzars106ynw2zk352gbv5";
type = "gem";
};
version = "1.8.3";
version = "1.8.6";
};
parallel = {
source = {
@@ -48,4 +48,4 @@
};
version = "0.0.7";
};
}
}
4 changes: 2 additions & 2 deletions pkgs/games/openra/default.nix
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@

stdenv.mkDerivation rec {
name = "openra-${version}";
version = "20180218";
version = "20180307";

meta = with stdenv.lib; {
description = "Real Time Strategy game engine recreating the C&C titles";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
owner = "OpenRA";
repo = "OpenRA";
rev = "release-${version}";
sha256 = "1853p2q88602s3zf22wg1h2qx2x661n20bcjjbfmj0h2d4p9dmaf";
sha256 = "05c6vrmlgzfxgfx1idqmp6czmr079px3n57q5ahnwzqvcl11a2jj";

extraPostFetch = ''
sed -i 's,curl,curl --insecure,g' $out/thirdparty/{fetch-thirdparty-deps,noget}.sh
2 changes: 1 addition & 1 deletion pkgs/misc/riscv-pk/default.nix
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@ in stdenv.mkDerivation {
description = "RISC-V Proxy Kernel and Bootloader.";
homepage = https://github.com/riscv/riscv-pk;
license = stdenv.lib.licenses.bsd3;
platforms = [ "riscv-linux" ];
platforms = stdenv.lib.platforms.riscv;
maintainers = [ stdenv.lib.maintainers.shlevy ];
};
}
4 changes: 3 additions & 1 deletion pkgs/misc/uboot/default.nix
Original file line number Diff line number Diff line change
@@ -78,7 +78,9 @@ let
runHook postInstall
'';

enableParallelBuilding = true;
# make[2]: *** No rule to make target 'lib/efi_loader/helloworld.efi', needed by '__build'. Stop.
enableParallelBuilding = false;

dontStrip = true;

meta = with stdenv.lib; {
22 changes: 15 additions & 7 deletions pkgs/tools/networking/snabb/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{ stdenv, lib, fetchFromGitHub, bash, makeWrapper, git, mysql, diffutils, which, coreutils, procps, nettools }:
{ stdenv, fetchFromGitHub, bash, makeWrapper, git, mysql, diffutils, which, coreutils, procps, nettools
,supportOpenstack ? true
}:

with stdenv.lib;

stdenv.mkDerivation rec {
name = "snabb-${version}";
version = "2016.04";
version = "2018.01.2";

src = fetchFromGitHub {
owner = "snabbco";
repo = "snabb";
rev = "v${version}";
sha256 = "1b5g477zy6cr5d9171xf8zrhhq6wxshg4cn78i5bki572q86kwlx";
sha256 = "0n6bjf5g4imy0aql8fa55c0db3w8h944ia1dk10167x5pqvkgdgm";
};

buildInputs = [ makeWrapper ];
@@ -20,10 +24,14 @@ stdenv.mkDerivation rec {
for f in $(find src/program/snabbnfv/ -type f); do
substituteInPlace $f --replace "/bin/bash" "${bash}/bin/bash"
done
'' + optionalString supportOpenstack ''
# We need a way to pass $PATH to the scripts
sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git mysql.client which procps coreutils ]}' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc
sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git coreutils diffutils nettools ]}' src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.sh.inc
sed -i '2iexport PATH=${git}/bin:${mysql}/bin:${which}/bin:${procps}/bin:${coreutils}/bin' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc
sed -i '2iexport PATH=${git}/bin:${coreutils}/bin:${diffutils}/bin:${nettools}/bin' src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.sh.inc
'';

preBuild = ''
make clean
'';

installPhase = ''
@@ -35,7 +43,7 @@ stdenv.mkDerivation rec {
# "Fatal error: can't create obj/arch/sse2_c.o: No such file or directory".
enableParallelBuilding = false;

meta = with stdenv.lib; {
meta = {
homepage = https://github.com/SnabbCo/snabbswitch;
description = "Simple and fast packet networking toolkit";
longDescription = ''
4 changes: 2 additions & 2 deletions pkgs/tools/security/browserpass/default.nix
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@

buildGoPackage rec {
name = "browserpass-${version}";
version = "2.0.13";
version = "2.0.17";

goPackagePath = "github.com/dannyvankooten/browserpass";

@@ -13,7 +13,7 @@ buildGoPackage rec {
repo = "browserpass";
owner = "dannyvankooten";
rev = version;
sha256 = "0pch0jddphgaaw208ddqjhnkiy5916n0kjxfza1cpc78fa8zw82l";
sha256 = "1gbhpx75bcacj6z5p4av0011c4chhzqcjjs2bvmfxpi7826hn9kn";
};

postInstall = ''
8 changes: 4 additions & 4 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -15131,11 +15131,10 @@ with pkgs;

# go 1.9 pin until https://github.com/moby/moby/pull/35739
inherit (callPackage ../applications/virtualization/docker { go = go_1_9; })
docker_17_12
docker_18_02;
docker_18_03;

docker = docker_17_12;
docker-edge = docker_18_02;
docker = docker_18_03;
docker-edge = docker_18_03;

docker-proxy = callPackage ../applications/virtualization/docker/proxy.nix { };

@@ -17310,6 +17309,7 @@ with pkgs;
qsampler = libsForQt5.callPackage ../applications/audio/qsampler { };

qscreenshot = callPackage ../applications/graphics/qscreenshot {
inherit (darwin.apple_sdk.frameworks) Carbon;
qt = qt4;
};