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: 361bd591ea4a
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: 01204cf872fa
Choose a head ref
  • 5 commits
  • 6 files changed
  • 3 contributors

Commits on Mar 22, 2018

  1. kernel: enable CGROUP_NET_PRIO

    It's required by systemd 238 because of a bug, otherwise systemd aborts.
    
    (cherry picked from commit e31c3f8)
    abbradar authored and fpletz committed Mar 22, 2018
    Copy the full SHA
    01cce78 View commit details
  2. systemd: 237 -> 238

    (cherry picked from commit 0ccab49)
    abbradar authored and fpletz committed Mar 22, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    2d2ab94 View commit details
  3. ntbtls: fix darwin build

    /cc ZHF #36454
    
    (cherry picked from commit 366bf3a)
    LnL7 committed Mar 22, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    31ba589 View commit details

Commits on Mar 23, 2018

  1. libftdi1: add darwin platform

    (cherry picked from commit d0df007)
    thefloweringash authored and bjornfor committed Mar 23, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    eef14cb View commit details
  2. avrdude: add darwin platform

    (cherry picked from commit b488848)
    thefloweringash authored and bjornfor committed Mar 23, 2018

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    01204cf View commit details
4 changes: 2 additions & 2 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
@@ -137,7 +137,6 @@ let

# Slices / containers.
"slices.target"
"system.slice"
"user.slice"
"machine.slice"
"machines.target"
@@ -821,7 +820,8 @@ in

system.requiredKernelConfig = map config.lib.kernelConfig.isEnabled
[ "DEVTMPFS" "CGROUPS" "INOTIFY_USER" "SIGNALFD" "TIMERFD" "EPOLL" "NET"
"SYSFS" "PROC_FS" "FHANDLE" "DMIID" "AUTOFS4_FS" "TMPFS_POSIX_ACL"
"SYSFS" "PROC_FS" "FHANDLE" "CRYPTO_USER_API_HASH" "CRYPTO_HMAC"
"CRYPTO_SHA256" "DMIID" "AUTOFS4_FS" "TMPFS_POSIX_ACL"
"TMPFS_XATTR" "SECCOMP"
];

2 changes: 1 addition & 1 deletion pkgs/development/libraries/libftdi/1.x.nix
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
description = "A library to talk to FTDI chips using libusb";
homepage = https://www.intra2net.com/en/developer/libftdi/;
license = with licenses; [ lgpl2 gpl2 ];
platforms = platforms.linux;
platforms = with platforms; linux ++ darwin;
maintainers = [ maintainers.bjornfor ];
};
}
5 changes: 3 additions & 2 deletions pkgs/development/libraries/ntbtls/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libgpgerror, libgcrypt, libksba, zlib }:
{ stdenv, fetchurl, gettext, libgpgerror, libgcrypt, libksba, zlib }:

with stdenv.lib;

@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {

outputs = [ "dev" "out" ];

buildInputs = [ libgcrypt libgpgerror libksba zlib ];
buildInputs = [ libgcrypt libgpgerror libksba zlib ]
++ stdenv.lib.optional stdenv.isDarwin gettext;

postInstall = ''
moveToOutput "bin/ntbtls-config" $dev
2 changes: 1 addition & 1 deletion pkgs/development/tools/misc/avrdude/default.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.nongnu.org/avrdude/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
platforms = with platforms; linux ++ darwin;
maintainers = [ maintainers.bjornfor ];
};
}
1 change: 1 addition & 0 deletions pkgs/os-specific/linux/kernel/common-config.nix
Original file line number Diff line number Diff line change
@@ -135,6 +135,7 @@ with stdenv.lib;
NETFILTER y
NETFILTER_ADVANCED y
CGROUP_BPF? y # Required by systemd per-cgroup firewalling
CGROUP_NET_PRIO y # Required by systemd
IP_ROUTE_VERBOSE y
IP_MROUTE_MULTIPLE_TABLES y
IP_VS_PROTO_TCP y
13 changes: 3 additions & 10 deletions pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
@@ -17,14 +17,14 @@ let
pythonLxmlEnv = python3Packages.python.withPackages ( ps: with ps; [ python3Packages.lxml ]);

in stdenv.mkDerivation rec {
version = "237";
version = "238";
name = "systemd-${version}";

src = fetchFromGitHub {
owner = "NixOS";
repo = "systemd";
rev = "98067cc806ae0d2759cdd2334f230cd8548e5317";
sha256 = "077svfs2xy3g30s62q69wcv5pb9vfhzh8i7lhfri73vvhwbpzd5q";
rev = "243d65d38f2df82d4a39f6a9970337803dff65a1";
sha256 = "098hxlkh6q17rxa178adylksxnnd4x9rxb8amjnlbiydcc6kaa5n";
};

outputs = [ "out" "lib" "man" "dev" ];
@@ -168,13 +168,6 @@ in stdenv.mkDerivation rec {
rm -rf $out/etc/systemd/system
# Install SysV compatibility commands.
mkdir -p $out/sbin
ln -s $out/lib/systemd/systemd $out/sbin/telinit
for i in init halt poweroff runlevel reboot shutdown; do
ln -s $out/bin/systemctl $out/sbin/$i
done
# Fix reference to /bin/false in the D-Bus services.
for i in $out/share/dbus-1/system-services/*.service; do
substituteInPlace $i --replace /bin/false ${coreutils}/bin/false