acpid: drop unneeded substituteInPlace

main
Bobby Rong 2 years ago
parent 6c489f09f9
commit e6c459f526
No known key found for this signature in database
GPG Key ID: ED07364437C91161
  1. 8
      pkgs/os-specific/linux/acpid/default.nix

@ -11,14 +11,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ];
# remove when https://sourceforge.net/p/acpid2/code/merge-requests/1/ is merged
postPatch = ''
substituteInPlace configure.ac \
--replace "AC_FUNC_MALLOC" "" \
--replace "AC_FUNC_REALLOC" "" \
--replace "strrchr strtol" "strrchr strtol malloc realloc"
'';
meta = with lib; {
homepage = "https://sourceforge.net/projects/acpid2/";
description = "A daemon for delivering ACPI events to userspace programs";

Loading…
Cancel
Save