Skip to content

Commit

Permalink
rpm: fix rpmquery/rpmverify symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Apr 15, 2017
1 parent fed7d4a commit d5afba4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/tools/package-management/rpm/default.nix
Expand Up @@ -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; {
Expand Down

0 comments on commit d5afba4

Please sign in to comment.