proxmox-backup-client: avoid git as buildInput
The build script of the `pbs-buildcfg` crate either uses `REPOID` from the environment or runs `git rev-parse HEAD`. The latter case results in an empty string anyway, so just fast-track it. Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
@@ -10,7 +10,6 @@
|
||||
libuuid,
|
||||
acl,
|
||||
libxcrypt,
|
||||
git,
|
||||
installShellFiles,
|
||||
sphinx,
|
||||
systemd,
|
||||
@@ -149,8 +148,10 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
# pbs-buildcfg requires this set, would be the git commit id
|
||||
REPOID = "";
|
||||
|
||||
nativeBuildInputs = [
|
||||
git
|
||||
pkg-config
|
||||
pkgconf
|
||||
rustPlatform.bindgenHook
|
||||
|
||||
Reference in New Issue
Block a user