diff options
author | teh <tehunger@gmail.com> | 2017-08-30 20:22:58 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-08-30 21:22:58 +0200 |
commit | 3e50f0ae0e07d645cd922c60e40770fc69af2e3a (patch) | |
tree | 107ab82775f2fac07fa7beb2536ea88e3f5ac745 /pkgs/os-specific | |
parent | e82cb3dfa4de3e29ce52afd5576e9c50581e2b0f (diff) | |
download | nixlib-3e50f0ae0e07d645cd922c60e40770fc69af2e3a.tar nixlib-3e50f0ae0e07d645cd922c60e40770fc69af2e3a.tar.gz nixlib-3e50f0ae0e07d645cd922c60e40770fc69af2e3a.tar.bz2 nixlib-3e50f0ae0e07d645cd922c60e40770fc69af2e3a.tar.lz nixlib-3e50f0ae0e07d645cd922c60e40770fc69af2e3a.tar.xz nixlib-3e50f0ae0e07d645cd922c60e40770fc69af2e3a.tar.zst nixlib-3e50f0ae0e07d645cd922c60e40770fc69af2e3a.zip |
systemd: add patch to fix suspend.target
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/systemd/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index c79343322d93..834418a177b6 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -73,6 +73,15 @@ stdenv.mkDerivation rec { hardeningDisable = [ "stackprotector" ]; + patches = [ + # TODO: Remove this patch when we have a systemd version + # with https://github.com/systemd/systemd/pull/6678 + (fetchpatch { + url = "https://github.com/systemd/systemd/commit/58a78ae77063eddfcd23ea272bd2e0ddc9ea3ff7.patch"; + sha256 = "1y09n176f0389qrfrs3fsxj4hly1y1xfnb52rhbgj34704adp5m1"; + }) + ]; + preConfigure = '' unset RANLIB |