diff options
author | Wout Mertens <Wout.Mertens@gmail.com> | 2023-03-01 12:50:28 +0100 |
---|---|---|
committer | Wout Mertens <Wout.Mertens@gmail.com> | 2023-03-04 23:38:19 +0100 |
commit | 7687b4e3e129828652a4eec246ffa74f30d2a1cf (patch) | |
tree | dbd587eda1008d7b805be2b6b2308a57af4d0745 /pkgs/tools/system/netdata | |
parent | 5b232943b609b9191c4680de8614554fb1fdb401 (diff) | |
download | nixlib-7687b4e3e129828652a4eec246ffa74f30d2a1cf.tar nixlib-7687b4e3e129828652a4eec246ffa74f30d2a1cf.tar.gz nixlib-7687b4e3e129828652a4eec246ffa74f30d2a1cf.tar.bz2 nixlib-7687b4e3e129828652a4eec246ffa74f30d2a1cf.tar.lz nixlib-7687b4e3e129828652a4eec246ffa74f30d2a1cf.tar.xz nixlib-7687b4e3e129828652a4eec246ffa74f30d2a1cf.tar.zst nixlib-7687b4e3e129828652a4eec246ffa74f30d2a1cf.zip |
netdata: fix libexec shebangs
Diffstat (limited to 'pkgs/tools/system/netdata')
-rw-r--r-- | pkgs/tools/system/netdata/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/system/netdata/default.nix b/pkgs/tools/system/netdata/default.nix index 62cb3022d904..b6cfc448f6a6 100644 --- a/pkgs/tools/system/netdata/default.nix +++ b/pkgs/tools/system/netdata/default.nix @@ -2,7 +2,7 @@ , CoreFoundation, IOKit, libossp_uuid , nixosTests , netdata-go-d-plugin -, curl, jemalloc, libuv, zlib +, bash, curl, jemalloc, libuv, zlib , libcap, libuuid, lm_sensors, protobuf , withCups ? false, cups , withDBengine ? true, lz4 @@ -31,7 +31,8 @@ stdenv.mkDerivation rec { strictDeps = true; nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ]; - buildInputs = [ curl jemalloc libuv zlib ] + # bash is only used to rewrite shebangs + buildInputs = [ bash curl jemalloc libuv zlib ] ++ lib.optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ] ++ lib.optionals (!stdenv.isDarwin) [ libcap libuuid ] ++ lib.optionals withCups [ cups ] |