about summary refs log tree commit diff
path: root/pkgs/os-specific/linux/util-linux
diff options
context:
space:
mode:
authorsjau <github.com@sjau.ch>2020-12-26 15:33:06 +0100
committersjau <github.com@sjau.ch>2020-12-27 09:19:20 +0100
commitc12fdec39d60c59279b78625f8dcfed1e8e1eeff (patch)
tree99238b9dd8e8e3108df343e4fe3e8f0ea153cea3 /pkgs/os-specific/linux/util-linux
parentb428cee2bf79bf5c4a5d598095a83bffe2277340 (diff)
util-linux: removing symfollow
Diffstat (limited to 'pkgs/os-specific/linux/util-linux')
-rw-r--r--pkgs/os-specific/linux/util-linux/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix
index 4f8f7cae7f8a8..600d10888c568 100644
--- a/pkgs/os-specific/linux/util-linux/default.nix
+++ b/pkgs/os-specific/linux/util-linux/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchurl, pkgconfig, zlib, shadow
+{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, zlib, shadow
 , ncurses ? null, perl ? null, pam, systemd ? null, minimal ? false }:
 
 stdenv.mkDerivation rec {
@@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
 
   patches = [
     ./rtcwake-search-PATH-for-shutdown.patch
+    # Remove patch below in 2.36.2, see https://github.com/karelzak/util-linux/issues/1193
+    (fetchpatch {
+      url = "https://github.com/karelzak/util-linux/commit/52f730e47869ce630fafb24fd46f755dc7ffc691.patch";
+      sha256 = "1fz3p9127lfvmrdj1j1s8jds0jjz2dzkvmia66555ihv7hcfajbg";
+    })
   ];
 
   outputs = [ "bin" "dev" "out" "man" ];