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: 0ab9e5c9fee7
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: 74854265b180
Choose a head ref

Commits on Oct 24, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    sxzz Kevin Deng 三咲智子
    Copy the full SHA
    0f144e4 View commit details

Commits on Oct 25, 2018

  1. Copy the full SHA
    7c2b6b0 View commit details
  2. Copy the full SHA
    714b6e3 View commit details

Commits on Oct 27, 2018

  1. xorg.xf86videovmware: fix for GFX support

    Fix the mesa dependency for `xorg.xf86videovmware`. Add `llvm_6` because
    `mesa_noglu` has a runtime dependency on clang (see TODO in
    `development/libraries/mesa`).
    bjpbakker committed Oct 27, 2018
    Copy the full SHA
    f565b95 View commit details
  2. thonny: 3.0.1 -> 3.0.5

    leenaars committed Oct 27, 2018
    Copy the full SHA
    7b29064 View commit details
  3. nixos/virtualbox-image: increase disk to 50G

    100GB breaks cptofs but 50GB is fine and benchmarks shows it takes the same time as building the demo VBox VM with a 10GB disk
    
    + enabled VM sound output by default
    + set USB controller in USB2.0 mode
    + add manifest file in the OVA as it allows integrity checking on imports
    c0bw3b authored Oct 27, 2018
    Copy the full SHA
    7ab76cc View commit details

Commits on Oct 28, 2018

  1. mdadm: 4.0 -> 4.1

    Ekleog committed Oct 28, 2018
    Copy the full SHA
    e9309a8 View commit details
  2. Copy the full SHA
    80bb1db View commit details
  3. nixos/rngd: fix exec flags and udev rules

    TPM1.2 support has been dropped in rng-tools v6.5
    see nhorman/rng-tools@caef8cc
    
    rngd won't access /dev/tpm0 anymore and the "--no-tpm=1" option is now unrecognised
    c0bw3b authored Oct 28, 2018
    Copy the full SHA
    deacd0b View commit details
  4. graylogPlugins: update

    graylog-plugin-aggregates: 2.0.0 -> 2.3.0
    graylog-plugin-auth-sso: 2.3.0 -> 2.4.2
    graylog-plugin-dnsresolver: 1.1.2 -> 1.2.0
    graylog-plugin-internal-logs: 2.3.0 -> 2.4.0
    graylog-plugin-jabber: 2.0.0 -> 2.4.0
    graylog-plugin-slack: 2.4.0 -> 3.1.0
    fadenb authored and globin committed Oct 28, 2018
    Copy the full SHA
    20a62ea View commit details
  5. python36Packages.mysql-connector: 8.0.12 -> 8.0.13

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.6-mysql-connector/versions
    r-ryantm authored and globin committed Oct 28, 2018
    Copy the full SHA
    69498f7 View commit details
  6. nixos/plasma5: disable ocr tests

    This is brittle and breaks the test
    Mic92 committed Oct 28, 2018
    Copy the full SHA
    f974b97 View commit details
  7. tabula: init at 1.2.1

    David Pätzel authored and globin committed Oct 28, 2018
    Copy the full SHA
    5931204 View commit details
  8. Merge pull request #49332 from Ekleog/mdadm-4.1

    mdadm: 4.0 -> 4.1
    markuskowa authored Oct 28, 2018
    Copy the full SHA
    bf939f7 View commit details
  9. Merge pull request #49355 from Mic92/sddm

    nixos/plasma5: disable ocr tests
    Mic92 authored Oct 28, 2018
    Copy the full SHA
    4249dc2 View commit details
  10. Merge pull request #49115 from bjpbakker/fix-vmware-gfx

    Enable GFX in xf86-video-vmware
    infinisil authored Oct 28, 2018
    Copy the full SHA
    4f6234f View commit details
  11. python36Packages.requests_download: 0.1.1 -> 0.1.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/python3.6-requests_download/versions
    r-ryantm authored and globin committed Oct 28, 2018
    Copy the full SHA
    b9bd8dd View commit details
  12. Merge pull request #49078 from colemickens/pr-wlroots

    wlroots.examples: prefix example binaries
    primeos authored Oct 28, 2018
    Copy the full SHA
    8ea2f0d View commit details
  13. python36Packages.pyramid_multiauth: 0.8.0 -> 0.9.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.6-pyramid_multiauth/versions
    r-ryantm authored and globin committed Oct 28, 2018
    Copy the full SHA
    7600634 View commit details
  14. Merge pull request #49303 from leenaars/thonny

    thonny: 3.0.1 -> 3.0.5
    markuskowa authored Oct 28, 2018
    Copy the full SHA
    3354820 View commit details
  15. Copy the full SHA
    8520839 View commit details
  16. Merge pull request #49095 from Synthetica9/steam-update

     steam: ran update-runtime.py
    infinisil authored Oct 28, 2018
    Copy the full SHA
    ba0aea3 View commit details
  17. Merge pull request #49349 from vbgl/ocaml-menhir-20181026

    ocamlPackages.menhir: 20170712 -> 20181026
    Mic92 authored Oct 28, 2018
    Copy the full SHA
    aa1e0ac View commit details
  18. Merge pull request #49350 from c0bw3b/nixos/rngd

    nixos/rngd: fix exec flags and udev rules
    infinisil authored Oct 28, 2018
    Copy the full SHA
    0ab2621 View commit details
  19. Merge pull request #49360 from tadfisher/logind-suspend-then-hibernate

    nixos/systemd: support "suspend-then-hibernate" logind option
    infinisil authored Oct 28, 2018
    Copy the full SHA
    04b4ca3 View commit details
  20. Merge pull request #49317 from c0bw3b/nixos/demovm

    nixos/virtualbox-image: increase disk to 50G
    infinisil authored Oct 28, 2018
    Copy the full SHA
    7485426 View commit details
4 changes: 1 addition & 3 deletions nixos/modules/security/rngd.nix
Original file line number Diff line number Diff line change
@@ -20,7 +20,6 @@ with lib;
KERNEL=="random", TAG+="systemd"
SUBSYSTEM=="cpu", ENV{MODALIAS}=="cpu:type:x86,*feature:*009E*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="rngd.service"
KERNEL=="hw_random", TAG+="systemd", ENV{SYSTEMD_WANTS}+="rngd.service"
${if config.services.tcsd.enable then "" else ''KERNEL=="tpm0", TAG+="systemd", ENV{SYSTEMD_WANTS}+="rngd.service"''}
'';

systemd.services.rngd = {
@@ -30,8 +29,7 @@ with lib;

description = "Hardware RNG Entropy Gatherer Daemon";

serviceConfig.ExecStart = "${pkgs.rng-tools}/sbin/rngd -f -v" +
(if config.services.tcsd.enable then " --no-tpm=1" else "");
serviceConfig.ExecStart = "${pkgs.rng-tools}/sbin/rngd -f -v";
};
};
}
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
@@ -387,7 +387,7 @@ let

logindHandlerType = types.enum [
"ignore" "poweroff" "reboot" "halt" "kexec" "suspend"
"hibernate" "hybrid-sleep" "lock"
"hibernate" "hybrid-sleep" "suspend-then-hibernate" "lock"
];

in
10 changes: 5 additions & 5 deletions nixos/modules/virtualisation/virtualbox-image.nix
Original file line number Diff line number Diff line change
@@ -12,7 +12,7 @@ in {
virtualbox = {
baseImageSize = mkOption {
type = types.int;
default = 10 * 1024;
default = 50 * 1024;
description = ''
The size of the VirtualBox base image in MiB.
'';
@@ -61,7 +61,7 @@ in {
export HOME=$PWD
export PATH=${pkgs.virtualbox}/bin:$PATH
echo "creating VirtualBox pass-through disk wrapper (no copying invovled)..."
echo "creating VirtualBox pass-through disk wrapper (no copying involved)..."
VBoxManage internalcommands createrawvmdk -filename disk.vmdk -rawdisk $diskImage
echo "creating VirtualBox VM..."
@@ -72,17 +72,17 @@ in {
--memory ${toString cfg.memorySize} --acpi on --vram 32 \
${optionalString (pkgs.stdenv.hostPlatform.system == "i686-linux") "--pae on"} \
--nictype1 virtio --nic1 nat \
--audiocontroller ac97 --audio alsa \
--audiocontroller ac97 --audio alsa --audioout on \
--rtcuseutc on \
--usb on --mouse usbtablet
--usb on --usbehci on --mouse usbtablet
VBoxManage storagectl "$vmName" --name SATA --add sata --portcount 4 --bootable on --hostiocache on
VBoxManage storageattach "$vmName" --storagectl SATA --port 0 --device 0 --type hdd \
--medium disk.vmdk
echo "exporting VirtualBox VM..."
mkdir -p $out
fn="$out/${cfg.vmFileName}"
VBoxManage export "$vmName" --output "$fn"
VBoxManage export "$vmName" --output "$fn" --options manifest
rm -v $diskImage
21 changes: 5 additions & 16 deletions nixos/tests/plasma5.nix
Original file line number Diff line number Diff line change
@@ -26,31 +26,20 @@ import ./make-test.nix ({ pkgs, ...} :
services.xserver.displayManager.sddm.theme = "breeze-ocr-theme";
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.default = "plasma5";
services.xserver.displayManager.sddm.autoLogin = {
enable = true;
user = "alice";
};
virtualisation.memorySize = 1024;
environment.systemPackages = [ sddm_theme ];

# fontconfig-penultimate-0.3.3 -> 0.3.4 broke OCR apparently, but no idea why.
nixpkgs.config.packageOverrides = superPkgs: {
fontconfig-penultimate = superPkgs.fontconfig-penultimate.override {
version = "0.3.3";
sha256 = "1z76jbkb0nhf4w7fy647yyayqr4q02fgk6w58k0yi700p0m3h4c9";
};
};
};

enableOCR = true;

testScript = { nodes, ... }: let
user = nodes.machine.config.users.users.alice;
xdo = "${pkgs.xdotool}/bin/xdotool";
in ''
startAll;
# Wait for display manager to start
$machine->waitForText(qr/${user.description}/);
$machine->screenshot("sddm");
# Log in
$machine->sendChars("${user.password}\n");
# wait for log in
$machine->waitForFile("/home/alice/.Xauthority");
$machine->succeed("xauth merge ~alice/.Xauthority");
6 changes: 3 additions & 3 deletions pkgs/applications/editors/thonny/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ with python3.pkgs;

buildPythonApplication rec {
pname = "thonny";
version = "3.0.1";
version = "3.0.5";

src = fetchFromBitbucket {
owner = "plas";
repo = pname;
rev = "f66bd266deda11534561a01ede53cf1b71d2c3c0";
sha256 = "0mjskb0gyddybvlbhm10ch1rwzvmci95b018x67bh67bybdl4hm7";
rev = "e5a1ad4ae9d24066a769489b1e168b4bd6e00b03";
sha256 = "1lrl5pj9dpw9i5ij863hd47gfd15nmvglqkl2ldwgfn7kgpsdkz5";
};

propagatedBuildInputs = with python3.pkgs; [
39 changes: 39 additions & 0 deletions pkgs/applications/misc/tabula/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{ stdenv, fetchzip, jre, makeWrapper }:


stdenv.mkDerivation rec {
name = "tabula-${version}";
version = "1.2.1";


src = fetchzip {
url = "https://github.com/tabulapdf/tabula/releases/download/v${version}/tabula-jar-${version}.zip";
sha256 = "0lkpv8hkji81fanyxm7ph8421fr9a6phqc3pbhw2bc4gljg7sgxi";
};


buildInputs = [ makeWrapper ];


installPhase = ''
mkdir -pv $out/share/tabula
cp -v * $out/share/tabula
makeWrapper ${jre}/bin/java $out/bin/tabula --add-flags "-jar $out/share/tabula/tabula.jar"
'';


meta = with stdenv.lib; {
description = "A tool for liberating data tables locked inside PDF files";
longDescription = ''
If you’ve ever tried to do anything with data provided to you in PDFs, you
know how painful it is — there's no easy way to copy-and-paste rows of data
out of PDF files. Tabula allows you to extract that data into a CSV or
Microsoft Excel spreadsheet using a simple, easy-to-use interface.
'';
homepage = https://tabula.technology/;
license = licenses.mit;
maintainers = [ maintainers.dpaetzel ];
platforms = platforms.all;
};
}
5 changes: 3 additions & 2 deletions pkgs/development/libraries/wlroots/default.nix
Original file line number Diff line number Diff line change
@@ -71,11 +71,12 @@ in stdenv.mkDerivation rec {
# screenshot output-layout multi-pointer rotation tablet touch pointer
# simple
mkdir -p $examples/bin
for binary in $(find ./examples -executable -type f | grep -vE '\.so'); do
cd ./examples
for binary in $(find . -executable -type f -printf '%P\n' | grep -vE '\.so'); do
patchelf \
--set-rpath "$examples/lib:${stdenv.lib.makeLibraryPath buildInputs}" \
"$binary"
cp "$binary" $examples/bin/
cp "$binary" "$examples/bin/wlroots-$binary"
done
'';

14 changes: 8 additions & 6 deletions pkgs/development/ocaml-modules/menhir/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild
, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20170712" else "20140422"
, version ? if stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.02" then "20181026" else "20140422"
}@args:

let
sha256 =
if version == "20140422" then "1ki1f2id6a14h9xpv2k8yb6px7dyw8cvwh39csyzj4qpzx7wia0d"
else if version == "20170712" then "006hq3bwj81j67f2k9cgzj5wr4hai8j36925p5n3sd2j01ljsj6a"
else throw ("menhir: unknown version " ++ version);
src = fetchurl (
if version == "20140422" then { url = "http://cristal.inria.fr/~fpottier/menhir/menhir-20140422.tar.gz"; sha256 = "1ki1f2id6a14h9xpv2k8yb6px7dyw8cvwh39csyzj4qpzx7wia0d"; }
else if version == "20170712" then { url = "http://gallium.inria.fr/~fpottier/menhir/menhir-20170712.tar.gz"; sha256 = "006hq3bwj81j67f2k9cgzj5wr4hai8j36925p5n3sd2j01ljsj6a"; }
else if version == "20181026" then { url = "https://gitlab.inria.fr/fpottier/menhir/repository/20181026/archive.tar.gz"; sha256 = "1zhacw60996i9b88kbnfvrvjk3ps9p9n9syjk9np545jp8l0582g"; }
else throw ("menhir: unknown version " ++ version)
);
in

import ./generic.nix (args // { inherit version sha256; })
import ./generic.nix (args // { inherit version src; })
7 changes: 2 additions & 5 deletions pkgs/development/ocaml-modules/menhir/generic.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{ version, sha256, stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
{ version, src, stdenv, fetchurl, ocaml, findlib, ocamlbuild }:

stdenv.mkDerivation {
name = "menhir-${version}";

src = fetchurl {
url = "http://pauillac.inria.fr/~fpottier/menhir/menhir-${version}.tar.gz";
inherit sha256;
};
inherit src;

buildInputs = [ ocaml findlib ocamlbuild ];

4 changes: 2 additions & 2 deletions pkgs/development/python-modules/mysql-connector/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

buildPythonPackage rec {
pname = "mysql-connector";
version = "8.0.12";
version = "8.0.13";

src = fetchFromGitHub {
owner = "mysql";
repo = "mysql-connector-python";
rev = version;
sha256 = "1i3148dka4zfqzz4n4n5k0qaqbc585bdpmjwgx5vp6iiv7pgvrxp";
sha256 = "1qb6m3cp6zxmr49bp6g5g5b75yszgac1h26i2hza61mrvd235688";
};

propagatedBuildInputs = [ protobuf ];
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/pyramid_multiauth/default.nix
Original file line number Diff line number Diff line change
@@ -6,11 +6,11 @@

buildPythonPackage rec {
pname = "pyramid_multiauth";
version = "0.8.0";
version = "0.9.0";

src = fetchPypi {
inherit pname version;
sha256 = "1lq292qakrm4ixi4vaif8dqywzj08pn6qy0wi4gw28blh39p0msk";
sha256 = "0lprqjyg3zcji6033p1l3s4nigjigc5423wgivkfhz46vq0jmniy";
};

propagatedBuildInputs = [ pyramid ];
8 changes: 4 additions & 4 deletions pkgs/development/python-modules/requests_download/default.nix
Original file line number Diff line number Diff line change
@@ -6,18 +6,18 @@

buildPythonPackage rec {
pname = "requests_download";
version = "0.1.1";
version = "0.1.2";

format = "wheel";

#src = pkgs.fetchurl {
# url = https://files.pythonhosted.org/packages/60/af/10f899f0574a81cbc511124c08d7c7dc46c20d4f956a6a3c793ad4330bb4/requests_download-0.1.1-py2.py3-none-any.whl;
# sha256 = "07832a93314bcd619aaeb08611ae245728e66672efb930bc2a300a115a47dab7";
# url = https://files.pythonhosted.org/packages/60/af/10f899f0574a81cbc511124c08d7c7dc46c20d4f956a6a3c793ad4330bb4/requests_download-0.1.2-py2.py3-none-any.whl;
# sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
#};

src = fetchPypi {
inherit pname version format;
sha256 = "07832a93314bcd619aaeb08611ae245728e66672efb930bc2a300a115a47dab7";
sha256 = "1ballx1hljpdpyvqzqn79m0dc21z2smrnxk2ylb6dbpg5crrskcr";
};

propagatedBuildInputs = [ requests ];
Loading