mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
commit
b09d027d83
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, udev
|
||||
, runtimeShellPackage
|
||||
@ -12,24 +11,15 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dhcpcd";
|
||||
version = "9.4.1";
|
||||
version = "10.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NetworkConfiguration";
|
||||
repo = "dhcpcd";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-qyxON+TsAKMwAI19b5P+dT/sgxpW6m1giGcf/boFpHc=";
|
||||
sha256 = "sha256-NXLOfSPGHiRDSagaT+37TAn9XtdcG4+wP9AvyGJi4Dc=";
|
||||
};
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user