pacman: substitute paths in repo-add

This commit is contained in:
Ben Wolsieffer 2018-09-09 20:42:59 -04:00
parent f89d6d92b7
commit 7c96603af9

View File

@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ perl libarchive openssl zlib bzip2 lzma ];
postFixup = ''
substituteInPlace $out/bin/repo-add \
--replace bsdtar "${libarchive}/bin/bsdtar"
'';
meta = with lib; {
description = "A simple library-based package manager";
homepage = https://www.archlinux.org/pacman/;