Add dependency 'ar' and fix path

This commit is contained in:
Peter Membrey 2025-05-17 17:04:38 +08:00
parent 66282ee101
commit 0f5c286263

View file

@ -1,4 +1,5 @@
{ {
binutils,
lib, lib,
perlPackages, perlPackages,
fetchFromGitLab, fetchFromGitLab,
@ -17,6 +18,11 @@ perlPackages.buildPerlPackage rec {
sourceRoot = "${src.name}/perl"; sourceRoot = "${src.name}/perl";
postPatch = ''
substituteInPlace arf.pm \
--replace-fail /usr/bin/ar ${binutils.bintools}/bin/ar
'';
meta = { meta = {
description = "Manipulate the cryptographic signatures stored inside a .deb file"; description = "Manipulate the cryptographic signatures stored inside a .deb file";
mainProgram = "debsigs"; mainProgram = "debsigs";