diff options
author | Joseph Stahl <1269177+josephst@users.noreply.github.com> | 2023-10-28 20:29:14 -0400 |
---|---|---|
committer | Joseph Stahl <1269177+josephst@users.noreply.github.com> | 2023-10-29 13:10:41 -0400 |
commit | 78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0 (patch) | |
tree | 4814a92838f96dec2b9a5fdcc6b317d5f0607551 | |
parent | fac16fbfae144461f41accc3455682e052e6ce49 (diff) | |
download | nixpkgs-78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0.tar nixpkgs-78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0.tar.gz nixpkgs-78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0.tar.bz2 nixpkgs-78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0.tar.lz nixpkgs-78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0.tar.xz nixpkgs-78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0.tar.zst nixpkgs-78aa55991398d7e1ddbe9aa8737bd80b07fcb7c0.zip |
netdata: don't use absolute path for `echo`
Upstream fix pending - https://github.com/netdata/netdata/pull/16300
-rw-r--r-- | pkgs/tools/system/netdata/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/tools/system/netdata/default.nix b/pkgs/tools/system/netdata/default.nix index aaa597d4c78..3c48c53bf90 100644 --- a/pkgs/tools/system/netdata/default.nix +++ b/pkgs/tools/system/netdata/default.nix @@ -118,6 +118,10 @@ stdenv.mkDerivation rec { ]; postFixup = '' + # remove once https://github.com/netdata/netdata/pull/16300 merged + substituteInPlace $out/bin/netdata-claim.sh \ + --replace /bin/echo echo + wrapProgram $out/bin/netdata-claim.sh --prefix PATH : ${lib.makeBinPath [ openssl ]} wrapProgram $out/libexec/netdata/plugins.d/cgroup-network-helper.sh --prefix PATH : ${lib.makeBinPath [ bash ]} wrapProgram $out/bin/netdatacli --set NETDATA_PIPENAME /run/netdata/ipc |