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:
commit
188314c91e
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue