From e1c172ab6b3c787a166a3e345798f10045cabb6a Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Sat, 14 Jul 2012 08:20:33 +0200 Subject: [PATCH] Call rpm -U instead of rpm -i to test package installation. --- pkgs/build-support/release/rpm-build.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/release/rpm-build.nix b/pkgs/build-support/release/rpm-build.nix index 9ec9ace0757..241e90f2f4a 100644 --- a/pkgs/build-support/release/rpm-build.nix +++ b/pkgs/build-support/release/rpm-build.nix @@ -36,7 +36,7 @@ vmTools.buildRPM ( done echo "installing ''${rpms[*]}..." - rpm -ip ''${rpms[*]} --excludepath /nix/store + rpm -Up ''${rpms[*]} --excludepath /nix/store eval "$postRPMInstall"