Merge pull request #46462 from lopsided98/pacman-substitute

pacman: substitute paths in repo-add
This commit is contained in:
Jörg Thalheim 2018-09-11 10:13:26 +01:00 committed by GitHub
commit 188314c91e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/;