forked from mirrors/nixpkgs
rpm: fix rpmquery/rpmverify symlinks
This commit is contained in:
parent
fed7d4a6e9
commit
d5afba485b
|
@ -46,6 +46,10 @@ stdenv.mkDerivation rec {
|
|||
for tool in ld nm objcopy objdump strip; do
|
||||
sed -i $out/lib/rpm/macros -e "s/^%__$tool.*/%__$tool $tool/"
|
||||
done
|
||||
|
||||
# symlinks produced by build are incorrect
|
||||
ln -sf $out/bin/{rpm,rpmquery}
|
||||
ln -sf $out/bin/{rpm,rpmverify}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
|
Loading…
Reference in a new issue