about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--pkgs/build-support/release/debian-build.nix6
1 files changed, 4 insertions, 2 deletions
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