Merge pull request #201584 from SamLukeYes/pacman
pacman: add missing dependencies of pacman-key
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
, binutils
|
||||
, coreutils
|
||||
, curl
|
||||
, gnupg
|
||||
, gpgme
|
||||
, installShellFiles
|
||||
, libarchive
|
||||
@@ -29,6 +28,12 @@
|
||||
, lz4
|
||||
, lzip
|
||||
|
||||
# pacman-key runtime dependencies
|
||||
, gawk
|
||||
, gettext
|
||||
, gnugrep
|
||||
, gnupg
|
||||
|
||||
# Tells pacman where to find ALPM hooks provided by packages.
|
||||
# This path is very likely to be used in an Arch-like root.
|
||||
, sysHookDir ? "/usr/share/libalpm/hooks/"
|
||||
@@ -106,7 +111,14 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram $out/bin/makepkg \
|
||||
--prefix PATH : ${lib.makeBinPath [ binutils ]}
|
||||
wrapProgram $out/bin/pacman-key \
|
||||
--prefix PATH : ${lib.makeBinPath [ "${placeholder "out"}" gnupg ]}
|
||||
--prefix PATH : ${lib.makeBinPath [
|
||||
"${placeholder "out"}"
|
||||
coreutils
|
||||
gawk
|
||||
gettext
|
||||
gnugrep
|
||||
gnupg
|
||||
]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user