Skip to content

Commit ad7b062

Browse files
authored
debsigs: Add dependency 'ar' and fix path (#407857)
2 parents c9694cd + 0f5c286 commit ad7b062

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/by-name/de/debsigs/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
binutils,
23
lib,
34
perlPackages,
45
fetchFromGitLab,
@@ -17,6 +18,11 @@ perlPackages.buildPerlPackage rec {
1718

1819
sourceRoot = "${src.name}/perl";
1920

21+
postPatch = ''
22+
substituteInPlace arf.pm \
23+
--replace-fail /usr/bin/ar ${binutils.bintools}/bin/ar
24+
'';
25+
2026
meta = {
2127
description = "Manipulate the cryptographic signatures stored inside a .deb file";
2228
mainProgram = "debsigs";

0 commit comments

Comments
 (0)