summary refs log tree commit diff
path: root/pkgs/build-support/release
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2018-02-19 15:27:34 +0300
committerNikolay Amiantov <ab@fmap.me>2018-02-19 16:07:40 +0300
commitc55b2fa7cd31930c7a1f2b940546abb1c2d67841 (patch)
tree0a2f0274a850c4dc549cadf9d039f7e3be149582 /pkgs/build-support/release
parentc10288c171fcec37821c28b96437e933e41033d8 (diff)
downloadnixpkgs-c55b2fa7cd31930c7a1f2b940546abb1c2d67841.tar
nixpkgs-c55b2fa7cd31930c7a1f2b940546abb1c2d67841.tar.gz
nixpkgs-c55b2fa7cd31930c7a1f2b940546abb1c2d67841.tar.bz2
nixpkgs-c55b2fa7cd31930c7a1f2b940546abb1c2d67841.tar.lz
nixpkgs-c55b2fa7cd31930c7a1f2b940546abb1c2d67841.tar.xz
nixpkgs-c55b2fa7cd31930c7a1f2b940546abb1c2d67841.tar.zst
nixpkgs-c55b2fa7cd31930c7a1f2b940546abb1c2d67841.zip
debBuild: install all packages at once to avoid dependency management
Diffstat (limited to 'pkgs/build-support/release')
-rw-r--r--pkgs/build-support/release/debian-build.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/release/debian-build.nix b/pkgs/build-support/release/debian-build.nix
index f4bc3e73056..354d929c9b6 100644
--- a/pkgs/build-support/release/debian-build.nix
+++ b/pkgs/build-support/release/debian-build.nix
@@ -78,10 +78,10 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
         header "Generated DEB package: $i"
         dpkg-deb --info "$i"
         pkgName=$(dpkg-deb -W "$i" | awk '{print $1}')
-        dpkg -i "$i"
         echo "file deb $i" >> $out/nix-support/hydra-build-products
         stopNest
       done
+      dpkg -i $out/debs/*.deb
 
       for i in $extraDebs; do
         echo "file deb-extra $(ls $i/debs/*.deb | sort | head -1)" >> $out/nix-support/hydra-build-products