Skip to content

Commit

Permalink
systemd: 239 -> 239.20181031
Browse files Browse the repository at this point in the history
Fixes CVE-2018-15688 and updates latest upstream stable v239 branch.

See NixOS/systemd#24 for details.

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
  • Loading branch information
fpletz and andir committed Oct 31, 2018
1 parent 3d5f7e3 commit a7912ec
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/os-specific/linux/systemd/default.nix
Expand Up @@ -18,16 +18,16 @@ let
pythonLxmlEnv = buildPackages.python3Packages.python.withPackages ( ps: with ps; [ python3Packages.lxml ]);

in stdenv.mkDerivation rec {
version = "239";
version = "239.20181031";
name = "systemd-${version}";

# When updating, use https://github.com/systemd/systemd-stable tree, not the development one!
# Also fresh patches should be cherry-picked from that tree to our current one.
src = fetchFromGitHub {
owner = "NixOS";
repo = "systemd";
rev = "31859ddd35fc3fa82a583744caa836d356c31d7f";
sha256 = "1xci0491j95vdjgs397n618zii3sgwnvanirkblqqw6bcvcjvir1";
rev = "nixos-v${version}";
sha256 = "1rzl0iqrpa4ajvama5k3cb3yc7893c55kzcxkl3cyavpdzsw5505";
};

outputs = [ "out" "lib" "man" "dev" ];
Expand Down Expand Up @@ -91,6 +91,7 @@ in stdenv.mkDerivation rec {
"-Dsulogin-path=${utillinux}/bin/sulogin"
"-Dmount-path=${utillinux}/bin/mount"
"-Dumount-path=${utillinux}/bin/umount"
"-Ddns-over-tls=false"
];

preConfigure = ''
Expand Down

0 comments on commit a7912ec

Please sign in to comment.