diff options
author | Peter Hoeg <peter@hoeg.com> | 2022-02-03 11:00:47 +0800 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-02-06 21:10:35 +0800 |
commit | 15e36831c2115a4a4a7cd7ed2bf55b68c1c200bf (patch) | |
tree | bdb741a86f36ce7bc1aa6d74a21ae54b24701220 /pkgs | |
parent | 942b0817e898262cc6e3f0a5f706ce09d8f749f1 (diff) |
collectd-data: we only need collectd.src - not collectd.out
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/system/collectd/data.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/system/collectd/data.nix b/pkgs/tools/system/collectd/data.nix index 3867bd6bb3d9f..52e394db40b82 100644 --- a/pkgs/tools/system/collectd/data.nix +++ b/pkgs/tools/system/collectd/data.nix @@ -1,14 +1,14 @@ { stdenv, collectd }: stdenv.mkDerivation { - inherit (collectd) meta version; - pname = "collectd-data"; + inherit (collectd) meta src version; - dontUnpack = true; + dontConfigure = true; + dontBuild = true; + dontFixup = true; installPhase = '' - mkdir -p $out/share/collectd - cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/ + install -Dm444 -t $out/share/collectd/ src/*.{db,conf} ''; } |