From f3c3f115206bae31fdcdc6c787b3559a2d5520db Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 3 Jan 2012 22:33:48 +0000 Subject: * Debian requires/provides should be comma-separated. svn path=/nixpkgs/trunk/; revision=31259 --- pkgs/build-support/release/debian-build.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs') diff --git a/pkgs/build-support/release/debian-build.nix b/pkgs/build-support/release/debian-build.nix index aeeb050bfaab..070a54fc945c 100644 --- a/pkgs/build-support/release/debian-build.nix +++ b/pkgs/build-support/release/debian-build.nix @@ -11,6 +11,8 @@ debRequires ? [] , ... } @ args: +with stdenv.lib; + vmTools.runInLinuxImage (stdenv.mkDerivation ( { @@ -61,8 +63,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation ( ${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 -- cgit 1.4.1