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: 386ebbccf001
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: bb834be2996f
Choose a head ref

Commits on Jun 13, 2020

  1. cdetheme: small adjustments

    gnidorah committed Jun 13, 2020
    Copy the full SHA
    d782c3d View commit details

Commits on Jun 16, 2020

  1. sequoia: 0.16.0 -> 0.17.0

    puzzlewolf committed Jun 16, 2020
    Copy the full SHA
    5c4f17c View commit details

Commits on Jun 17, 2020

  1. sequoia: exclude tests for 'sequoia-store'

    Tests for 'sequoia-store' often error with 'Too many open filehandles'
    on ofBorg and Hydra. Exclude them until a better solution
    can be found.
    puzzlewolf committed Jun 17, 2020
    Copy the full SHA
    c26c77b View commit details

Commits on Jul 9, 2020

  1. Copy the full SHA
    f9ea9c7 View commit details

Commits on Jul 11, 2020

  1. lazygit: 0.20.4 -> 0.20.5

    new version released with a small improvement
    https://github.com/jesseduffield/lazygit/releases/tag/v0.20.5
    equirosa committed Jul 11, 2020
    Copy the full SHA
    40f4cbb View commit details
  2. Copy the full SHA
    05c6587 View commit details
  3. Copy the full SHA
    df8552e View commit details
  4. Copy the full SHA
    060c1ef View commit details

Commits on Jul 12, 2020

  1. Copy the full SHA
    23e259c View commit details
  2. fluxctl: 1.19.0 -> 1.20.0

    r-ryantm committed Jul 12, 2020
    Copy the full SHA
    d0816b2 View commit details
  3. maturin: 0.8.1 -> 0.8.2

    The changelog is not updated, so this has to do:
    
    PyO3/maturin@v0.8.1...v0.8.2
    danieldk committed Jul 12, 2020
    Copy the full SHA
    4c40111 View commit details
  4. Merge pull request #92957 from lopsided98/qgroundcontrol-update

    qgroundcontrol: 4.0.8 -> 4.0.9
    danieldk authored Jul 12, 2020
    Copy the full SHA
    a36e044 View commit details
  5. Merge pull request #91809 from danieldk/maturin-0.8.2

    maturin: 0.8.1 -> 0.8.2
    danieldk authored Jul 12, 2020
    Copy the full SHA
    11cdfc0 View commit details
  6. python3Packages.pytorch: create separate lib output

    At some point pytorch.dev was added to expose the libtorch headers and
    libraries to non-Python users of libtorch. However, this output
    currently has two disadvantages:
    
    1. An application that compiles against the dev output will also have
       the libtorch header files in its closure. This is not so nice when
       e.g. building Docker images of applications that use libtorch.
    2. The dev output has a large transitive closure with many dependencies
       that are not necessary when compiling against libtorch.
    
    This change adds the `lib` output so that applications that only link
    against libtorch libraries have a small closure.
    
    Before this change, the libtorch dependency adds 746MiB:
    
    % nix path-info -S `realpath result-dev`
    /nix/store/10rmy81bjk628sfpbj2szxlws6brq1xn-python3.8-pytorch-1.5.1-dev   782203848
    
    With this change it is reduced to 196MiB:
    
    % nix path-info -S `realpath result-lib`
    /nix/store/bck65lf0z7gdhcf89w1zs5nz333lhgwa-python3.8-pytorch-1.5.1-lib   205865056
    danieldk authored and FRidh committed Jul 12, 2020
    Copy the full SHA
    2611e96 View commit details
  7. Merge pull request #92759 from mdlayher/mdl-systemd-watchdog

    nixos/systemd: add options for hardware watchdog management
    flokli authored Jul 12, 2020
    Copy the full SHA
    94dc0c0 View commit details
  8. Merge pull request #92933 from RaghavSood/bug/92910

    nixos/users-groups: fix mkChangedOptionModule for root password hash
    flokli authored Jul 12, 2020
    Copy the full SHA
    b7ff71a View commit details
  9. Merge pull request #92937 from RaghavSood/ipfs-migrator/1.6.3

    ipfs-migrator: 1.5.1 -> 1.6.3
    erictapen authored Jul 12, 2020
    Copy the full SHA
    19cf992 View commit details
  10. Merge pull request #92972 from r-ryantm/auto-update/fluxctl

    fluxctl: 1.19.0 -> 1.20.0
    Br1ght0ne authored Jul 12, 2020
    Copy the full SHA
    e930b83 View commit details
  11. Merge pull request #92913 from equirosa/lazygit

    lazygit: 0.20.4 -> 0.20.5
    Br1ght0ne authored Jul 12, 2020
    Copy the full SHA
    a2e8547 View commit details
  12. nixos/systemd: add missing defaults, make options nullable

    Otherwise evaluation will fail if these are not set.
    flokli committed Jul 12, 2020
    Copy the full SHA
    3b2b3f7 View commit details
  13. Merge pull request #90591 from puzzlewolf/sequoia_0.17

    sequoia: 0.16.0 -> 0.17.0
    erictapen authored Jul 12, 2020
    Copy the full SHA
    c2bacaf View commit details
  14. Merge pull request #92955 from etu/relax-additional-hass-dep

    home-assistant: Fix dependency restriction
    srhb authored Jul 12, 2020
    Copy the full SHA
    e3ad258 View commit details
  15. Copy the full SHA
    eeab7d4 View commit details
  16. vaapiIntel: Refactor and improve the build expression (#92996)

    This doesn't cause any changes to the contents of the output path (apart
    from the $out reference changing due to the modified expression).
    primeos authored Jul 12, 2020
    Copy the full SHA
    fc2a461 View commit details
  17. Merge pull request #90221 from gnidorah/cdetheme

    cde-gtk-theme: small adjustments
    romildo authored Jul 12, 2020
    Copy the full SHA
    bb834be View commit details
4 changes: 2 additions & 2 deletions nixos/modules/config/users-groups.nix
Original file line number Diff line number Diff line change
@@ -430,9 +430,9 @@ in {
(mkChangedOptionModule
[ "security" "initialRootPassword" ]
[ "users" "users" "root" "initialHashedPassword" ]
(cfg: if cfg.security.initialHashedPassword == "!"
(cfg: if cfg.security.initialRootPassword == "!"
then null
else cfg.security.initialHashedPassword))
else cfg.security.initialRootPassword))
];

###### interface
56 changes: 56 additions & 0 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
@@ -818,6 +818,49 @@ in
'';
};

systemd.watchdog.device = mkOption {
type = types.nullOr types.path;
default = null;
example = "/dev/watchdog";
description = ''
The path to a hardware watchdog device which will be managed by systemd.
If not specified, systemd will default to /dev/watchdog.
'';
};

systemd.watchdog.runtimeTime = mkOption {
type = types.nullOr types.str;
default = null;
example = "30s";
description = ''
The amount of time which can elapse before a watchdog hardware device
will automatically reboot the system. Valid time units include "ms",
"s", "min", "h", "d", and "w".
'';
};

systemd.watchdog.rebootTime = mkOption {
type = types.nullOr types.str;
default = null;
example = "10m";
description = ''
The amount of time which can elapse after a reboot has been triggered
before a watchdog hardware device will automatically reboot the system.
Valid time units include "ms", "s", "min", "h", "d", and "w".
'';
};

systemd.watchdog.kexecTime = mkOption {
type = types.nullOr types.str;
default = null;
example = "10m";
description = ''
The amount of time which can elapse when kexec is being executed before
a watchdog hardware device will automatically reboot the system. This
option should only be enabled if reloadTime is also enabled. Valid
time units include "ms", "s", "min", "h", "d", and "w".
'';
};
};


@@ -889,6 +932,19 @@ in
DefaultIPAccounting=yes
''}
DefaultLimitCORE=infinity
${optionalString (config.systemd.watchdog.device != null) ''
WatchdogDevice=${config.systemd.watchdog.device}
''}
${optionalString (config.systemd.watchdog.runtimeTime != null) ''
RuntimeWatchdogSec=${config.systemd.watchdog.runtimeTime}
''}
${optionalString (config.systemd.watchdog.rebootTime != null) ''
RebootWatchdogSec=${config.systemd.watchdog.rebootTime}
''}
${optionalString (config.systemd.watchdog.kexecTime != null) ''
KExecWatchdogSec=${config.systemd.watchdog.kexecTime}
''}
${config.systemd.extraConfig}
'';

22 changes: 22 additions & 0 deletions nixos/tests/systemd.nix
Original file line number Diff line number Diff line change
@@ -50,6 +50,13 @@ import ./make-test-python.nix ({ pkgs, ... }: {
fi
'';
};

systemd.watchdog = {
device = "/dev/watchdog";
runtimeTime = "30s";
rebootTime = "10min";
kexecTime = "5min";
};
};

testScript = ''
@@ -117,5 +124,20 @@ import ./make-test-python.nix ({ pkgs, ... }: {
retcode, output = machine.execute("systemctl status testservice1.service")
assert retcode in [0, 3] # https://bugs.freedesktop.org/show_bug.cgi?id=77507
assert "CPU:" in output
# Test systemd is configured to manage a watchdog
with subtest("systemd manages hardware watchdog"):
machine.wait_for_unit("multi-user.target")
# It seems that the device's path doesn't appear in 'systemctl show' so
# check it separately.
assert "WatchdogDevice=/dev/watchdog" in machine.succeed(
"cat /etc/systemd/system.conf"
)
output = machine.succeed("systemctl show | grep Watchdog")
assert "RuntimeWatchdogUSec=30s" in output
assert "RebootWatchdogUSec=10m" in output
assert "KExecWatchdogUSec=5m" in output
'';
})
6 changes: 3 additions & 3 deletions pkgs/applications/networking/cluster/fluxctl/default.nix
Original file line number Diff line number Diff line change
@@ -2,16 +2,16 @@

buildGoModule rec {
pname = "fluxctl";
version = "1.19.0";
version = "1.20.0";

src = fetchFromGitHub {
owner = "weaveworks";
repo = "flux";
rev = version;
sha256 = "1w6ndp0nrpps6pkxnq38hikbnzwahi6j9gn8l0bxd0qkf7cjc5w0";
sha256 = "0bfib5pg2cbip6fw45slb0h3a7qpikxsfpclzr86bcnjq60pshl1";
};

vendorSha256 = "0w5l1lkzx4frllflkbilj8qqwf54wkz7hin7q8xn1vflkv3lxcnp";
vendorSha256 = "0a5sv11pb2i6r0ffwaiqdhc0m7gz679yfmqw6ix9imk4ybhf4jp9";

subPackages = [ "cmd/fluxctl" ];

6 changes: 3 additions & 3 deletions pkgs/applications/networking/ipfs-migrator/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildGoModule rec {
pname = "ipfs-migrator";
version = "1.5.1";
version = "1.6.3";

src = fetchFromGitHub {
owner = "ipfs";
repo = "fs-repo-migrations";
rev = "v${version}";
sha256 = "18pjxkxfbsbbj4hs4xyzfmmz991h31785ldx41dll6wa9zx4lsnm";
sha256 = "13ah5jk8n3wznvag6dda1ssgpqsdr9pdgvqm9gcsb7zzls89j9x5";
};

vendorSha256 = null;
@@ -22,4 +22,4 @@ buildGoModule rec {
platforms = platforms.unix;
maintainers = with maintainers; [ elitak ];
};
}
}
11 changes: 6 additions & 5 deletions pkgs/applications/science/robotics/qgroundcontrol/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ lib, mkDerivation, fetchgit, SDL2
{ lib, mkDerivation, fetchFromGitHub, SDL2
, qtbase, qtcharts, qtlocation, qtserialport, qtsvg, qtquickcontrols2
, qtgraphicaleffects, qtspeech, qtx11extras, qmake, qttools
, gst_all_1, wayland, pkgconfig
}:

mkDerivation rec {
pname = "qgroundcontrol";
version = "4.0.8";
version = "4.0.9";

qtInputs = [
qtbase qtcharts qtlocation qtserialport qtsvg qtquickcontrols2
@@ -58,10 +58,11 @@ mkDerivation rec {
'';

# TODO: package mavlink so we can build from a normal source tarball
src = fetchgit {
url = "https://github.com/mavlink/qgroundcontrol.git";
src = fetchFromGitHub {
owner = "mavlink";
repo = pname;
rev = "v${version}";
sha256 = "0jr9jpjqdwizsvh9zm0fdp8k2r4536m40dxrn30fbr3ba8vnzkgq";
sha256 = "0fwibgb9wmxk2zili5vsibi2q6pk1gna21870y5abx4scbvhgq68";
fetchSubmodules = true;
};

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, python2Packages }:

stdenv.mkDerivation rec {
pname = "cde-motif-theme";
pname = "cdetheme";
version = "1.3";

src = fetchFromGitHub {
@@ -29,5 +29,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ gnidorah ];
hydraPlatforms = [];
};
}
34 changes: 19 additions & 15 deletions pkgs/development/libraries/vaapi-intel/default.nix
Original file line number Diff line number Diff line change
@@ -1,38 +1,32 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gnum4, pkgconfig, python2
{ stdenv, fetchFromGitHub, autoreconfHook, gnum4, pkg-config, python3
, intel-gpu-tools, libdrm, libva, libX11, libGL, wayland, libXext
, enableHybridCodec ? false, vaapi-intel-hybrid
}:

stdenv.mkDerivation rec {
pname = "intel-vaapi-driver";
version = "2.4.0";
version = "2.4.1";

src = fetchFromGitHub {
owner = "intel";
repo = "intel-vaapi-driver";
rev = version;
sha256 = "019w0hvjc9l85yqhy01z2bvvljq208nkb43ai2v377l02krgcrbl";
sha256 = "1cidki3av9wnkgwi7fklxbg3bh6kysf8w3fk2qadjr05a92mx3zp";
};

patchPhase = ''
patchShebangs ./src/shaders/gpp.py
'';

preConfigure = ''
sed -i -e "s,LIBVA_DRIVERS_PATH=.*,LIBVA_DRIVERS_PATH=$out/lib/dri," configure
'';
# Set the correct install path:
LIBVA_DRIVERS_PATH = "${placeholder "out"}/lib/dri";

postInstall = stdenv.lib.optionalString enableHybridCodec ''
ln -s ${vaapi-intel-hybrid}/lib/dri/* $out/lib/dri/
'';

configureFlags = [
"--enable-drm"
"--enable-x11"
"--enable-wayland"
] ++ stdenv.lib.optional enableHybridCodec "--enable-hybrid-codec";

nativeBuildInputs = [ autoreconfHook gnum4 pkgconfig python2 ];
nativeBuildInputs = [ autoreconfHook gnum4 pkg-config python3 ];

buildInputs = [ intel-gpu-tools libdrm libva libX11 libXext libGL wayland ]
++ stdenv.lib.optional enableHybridCodec vaapi-intel-hybrid;
@@ -42,8 +36,18 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = "https://01.org/linuxmedia";
license = licenses.mit;
description = "Intel driver for the VAAPI library";
platforms = platforms.unix;
maintainers = with maintainers; [ ];
description = "VA-API user mode driver for Intel GEN Graphics family";
longDescription = ''
This VA-API video driver backend provides a bridge to the GEN GPUs through
the packaging of buffers and commands to be sent to the i915 driver for
exercising both hardware and shader functionality for video decode,
encode, and processing.
VA-API is an open-source library and API specification, which provides
access to graphics hardware acceleration capabilities for video
processing. It consists of a main library and driver-specific acceleration
backends for each supported hardware vendor.
'';
platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = with maintainers; [ primeos ];
};
}
7 changes: 5 additions & 2 deletions pkgs/development/python-modules/pytorch/default.nix
Original file line number Diff line number Diff line change
@@ -110,7 +110,8 @@ in buildPythonPackage rec {

outputs = [
"out" # output standard python package
"dev" # output libtorch only
"dev" # output libtorch headers
"lib" # output libtorch libraries
];

src = fetchFromGitHub {
@@ -239,9 +240,11 @@ in buildPythonPackage rec {
];
postInstall = ''
mkdir $dev
cp -r $out/${python.sitePackages}/torch/lib $dev/lib
cp -r $out/${python.sitePackages}/torch/include $dev/include
cp -r $out/${python.sitePackages}/torch/share $dev/share
mkdir $lib
cp -r $out/${python.sitePackages}/torch/lib $lib/lib
'';

postFixup = stdenv.lib.optionalString stdenv.isDarwin ''
4 changes: 2 additions & 2 deletions pkgs/development/tools/lazygit/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

buildGoPackage rec {
pname = "lazygit";
version = "0.20.4";
version = "0.20.5";

goPackagePath = "github.com/jesseduffield/lazygit";

@@ -12,7 +12,7 @@ buildGoPackage rec {
owner = "jesseduffield";
repo = pname;
rev = "v${version}";
sha256 = "134f04ybzgghm7ghyxair111aflmkjrbfj0bkxfp1w0a3jm6sfsk";
sha256 = "0968aww43gvc4wx2nyjyavclyspls7rbdlpzq6k5z7pgf4mgganw";
};

meta = with stdenv.lib; {
6 changes: 3 additions & 3 deletions pkgs/development/tools/rust/maturin/default.nix
Original file line number Diff line number Diff line change
@@ -5,16 +5,16 @@ let
inherit (darwin.apple_sdk.frameworks) Security;
in rustPlatform.buildRustPackage rec {
name = "maturin-${version}";
version = "0.8.1";
version = "0.8.2";

src = fetchFromGitHub {
owner = "PyO3";
repo = "maturin";
rev = "v${version}";
sha256 = "16bxxa261k2l6mpdd55gyzl1mx756i0zbvqp15glpzlcwhb9bm2m";
sha256 = "1y6bxqbv7k8xvqjzgpf6n2n3yad4qxr2dwwlw8cb0knd7cfl2a2n";
};

cargoSha256 = "1s1brfnhwl42jb37qqz4d8mxpyq2ck60jnmjfllkga3mhwm4r8px";
cargoSha256 = "1f12k6n58ycv79bv416566fnsnsng8jk3f6fy5j78py1qgy30swm";

nativeBuildInputs = [ pkgconfig ];

Original file line number Diff line number Diff line change
@@ -20,5 +20,6 @@ index 4e46f63217..b1aafee59d 100755
+ "requests>=2.23.0",
+ "ruamel.yaml>=0.15.100",
"voluptuous==0.11.7",
"voluptuous-serialize==2.3.0",
- "voluptuous-serialize==2.3.0",
+ "voluptuous-serialize>=2.3.0",
]
10 changes: 7 additions & 3 deletions pkgs/tools/security/sequoia/default.nix
Original file line number Diff line number Diff line change
@@ -9,16 +9,16 @@ assert pythonSupport -> pythonPackages != null;

rustPlatform.buildRustPackage rec {
pname = "sequoia";
version = "0.16.0";
version = "0.17.0";

src = fetchFromGitLab {
owner = "sequoia-pgp";
repo = pname;
rev = "v${version}";
sha256 = "0iwzi2ylrwz56s77cd4vcf89ig6ipy4w6kp2pfwqvd2d00x54dhk";
sha256 = "1rf9q67qmjfkgy6r3mz1h9ibfmc04r4j8nzacqv2l75x4mwvf6xb";
};

cargoSha256 = "0jsmvs6hr9mhapz3a74wpfgkjkq3w10014j3z30bm659mxqrknha";
cargoSha256 = "074bbr7dfk8cqdarrjy4sm37f5jmv2l5gwwh3zcmy2wrfg7vi1h6";

nativeBuildInputs = [
pkgconfig
@@ -56,6 +56,10 @@ rustPlatform.buildRustPackage rec {

LIBCLANG_PATH = "${llvmPackages.libclang}/lib";

# Please check if this is still needed when updating.
# Exlude tests for sequoia-store, they often error with 'Too many open files' Hydra.
CARGO_TEST_ARGS = " --all --exclude sequoia-store";

postPatch = ''
# otherwise, the check fails because we delete the `.git` in the unpack phase
substituteInPlace openpgp-ffi/Makefile \
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -18085,7 +18085,7 @@ in

cascadia-code = callPackage ../data/fonts/cascadia-code { };

cde-gtk-theme = callPackage ../data/themes/cde-motif-theme { };
cde-gtk-theme = callPackage ../data/themes/cdetheme { };

charis-sil = callPackage ../data/fonts/charis-sil { };