Skip to content

Commit

Permalink
glpi-agent: fix ip (NixOS#371820)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage authored Jan 7, 2025
2 parents 5f47d3e + 9c4fe1b commit 76351a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/gl/glpi-agent/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ perlPackages.buildPerlPackage rec {
patchShebangs bin
substituteInPlace lib/GLPI/Agent/Tools/Linux.pm \
--replace-fail "/sbin/ip" $"{iproute2}/sbin/ip"
--replace-fail "/sbin/ip" "${lib.getExe' iproute2 "ip"}"
substituteInPlace lib/GLPI/Agent/Task/Inventory/Linux/Networks.pm \
--replace-fail "/sbin/ip" "${iproute2}/sbin/ip"
--replace-fail "/sbin/ip" "${lib.getExe' iproute2 "ip"}"
'';

nativeBuildInputs = [ makeWrapper ];
Expand Down

0 comments on commit 76351a0

Please sign in to comment.