dhcpcd: avoid crash

Fixes #199200
This commit is contained in:
Louis Bettens 2023-01-22 15:09:54 +01:00 committed by pennae
parent 54cfd5cded
commit 7eb824334d

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, pkg-config
, udev
, runtimeShellPackage
@ -18,6 +19,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-gZNXY07+0epc9E7AGyTT0/iFL+yLQkmSXcxWZ8VON2w=";
};
patches = [
# dhcpcd with privsep SIGSYS's on dhcpcd -U
# https://github.com/NetworkConfiguration/dhcpcd/issues/147
(fetchpatch {
url = "https://github.com/NetworkConfiguration/dhcpcd/commit/38befd4e867583002b96ec39df733585d74c4ff5.patch";
hash = "sha256-nS2zmLuQBYhLfoPp0DOwxF803Hh32EE4OUKGBTTukE0=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
udev