zabbix.agent: fix cross compilation

This commit is contained in:
Nick Cao 2022-01-27 09:54:59 +08:00
parent 16ed47c966
commit 1fe8015b21
No known key found for this signature in database
GPG key ID: 068A56CEF48FA2C1

View file

@ -24,6 +24,10 @@ import ./versions.nix ({ version, sha256 }:
"--with-libpcre" "--with-libpcre"
"--with-openssl=${openssl.dev}" "--with-openssl=${openssl.dev}"
]; ];
makeFlags = [
"AR:=$(AR)"
"RANLIB:=$(RANLIB)"
];
postInstall = '' postInstall = ''
cp conf/zabbix_agentd/*.conf $out/etc/zabbix_agentd.conf.d/ cp conf/zabbix_agentd/*.conf $out/etc/zabbix_agentd.conf.d/