Author: eelco
Date: Tue Jan  3 22:33:48 2012
New Revision: 31259
URL: https://nixos.org/websvn/nix/?rev=31259&sc=1

Log:
* Debian requires/provides should be comma-separated.

Modified:
   nixpkgs/trunk/pkgs/build-support/release/debian-build.nix

Modified: nixpkgs/trunk/pkgs/build-support/release/debian-build.nix
==============================================================================
--- nixpkgs/trunk/pkgs/build-support/release/debian-build.nix   Tue Jan  3 
22:25:46 2012        (r31258)
+++ nixpkgs/trunk/pkgs/build-support/release/debian-build.nix   Tue Jan  3 
22:33:48 2012        (r31259)
@@ -11,6 +11,8 @@
   debRequires ? []
 , ... } @ args:
 
+with stdenv.lib;
+
 vmTools.runInLinuxImage (stdenv.mkDerivation (
 
   {
@@ -61,8 +63,8 @@
 
       ${checkinstall}/sbin/checkinstall --nodoc -y -D \
         --fstrans=${if fsTranslation then "yes" else "no"} \
-        --requires="${toString debRequires}" \
-        --provides="${toString debProvides}" \
+        --requires="${concatStringsSep "," debRequires}" \
+        --provides="${concatStringsSep "," debProvides}" \
         make install
 
       ensureDir $out/debs
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to