From 0d62f0418c82438c99977af9f0e25be80f66893d Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 11 Oct 2011 14:47:56 +0000 Subject: [PATCH] nix-build.nix: also recognize xz tarballs svn path=/nixpkgs/trunk/; revision=29760 --- pkgs/build-support/release/nix-build.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/release/nix-build.nix b/pkgs/build-support/release/nix-build.nix index 5c569f97ccf0..a32f0e07a0cc 100644 --- a/pkgs/build-support/release/nix-build.nix +++ b/pkgs/build-support/release/nix-build.nix @@ -68,7 +68,7 @@ stdenv.mkDerivation ( # multiple tarballs, just pick the first one. origSrc=$src if test -d $src/tarballs; then - src=$(ls $src/tarballs/*.tar.bz2 $src/tarballs/*.tar.gz | sort | head -1) + src=$(ls $src/tarballs/*.tar.bz2 $src/tarballs/*.tar.gz $src/tarballs/*.tar.xz | sort | head -1) fi # Set GCC flags for coverage analysis, if desired.