diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2011-10-11 14:47:56 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2011-10-11 14:47:56 +0000 |
commit | 0d62f0418c82438c99977af9f0e25be80f66893d (patch) | |
tree | ac4b53ae89c42eefb4c28d5e9bbe1d8325e9d2bc /pkgs/build-support/release | |
parent | 40f1e4e289c19b9a8deafa77ad8e450f0f93f753 (diff) | |
download | nixpkgs-0d62f0418c82438c99977af9f0e25be80f66893d.tar nixpkgs-0d62f0418c82438c99977af9f0e25be80f66893d.tar.gz nixpkgs-0d62f0418c82438c99977af9f0e25be80f66893d.tar.bz2 nixpkgs-0d62f0418c82438c99977af9f0e25be80f66893d.tar.lz nixpkgs-0d62f0418c82438c99977af9f0e25be80f66893d.tar.xz nixpkgs-0d62f0418c82438c99977af9f0e25be80f66893d.tar.zst nixpkgs-0d62f0418c82438c99977af9f0e25be80f66893d.zip |
nix-build.nix: also recognize xz tarballs
svn path=/nixpkgs/trunk/; revision=29760
Diffstat (limited to 'pkgs/build-support/release')
-rw-r--r-- | pkgs/build-support/release/nix-build.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/release/nix-build.nix b/pkgs/build-support/release/nix-build.nix index 5c569f97ccf..a32f0e07a0c 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. |