1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00

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