diff options
author | Pavol Rusnak <pavol@rusnak.io> | 2021-01-24 01:40:18 +0100 |
---|---|---|
committer | Pavol Rusnak <pavol@rusnak.io> | 2021-01-24 01:49:49 +0100 |
commit | 90f73381120f7ae9e0d5f0f6dc16cb141c658494 (patch) | |
tree | 5683ff0c39f9ac901e181fc0591cf03c2b95b07a /pkgs/build-support/release/debian-build.nix | |
parent | 2f34b4b883932f0ee2c1787e704f3915786e8cca (diff) | |
download | nixpkgs-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar nixpkgs-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.gz nixpkgs-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.bz2 nixpkgs-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.lz nixpkgs-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.xz nixpkgs-90f73381120f7ae9e0d5f0f6dc16cb141c658494.tar.zst nixpkgs-90f73381120f7ae9e0d5f0f6dc16cb141c658494.zip |
treewide: stdenv.lib -> lib
Diffstat (limited to 'pkgs/build-support/release/debian-build.nix')
-rw-r--r-- | pkgs/build-support/release/debian-build.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/build-support/release/debian-build.nix b/pkgs/build-support/release/debian-build.nix index dfa896a86a6..9ac335d288a 100644 --- a/pkgs/build-support/release/debian-build.nix +++ b/pkgs/build-support/release/debian-build.nix @@ -2,6 +2,7 @@ # that contains a Debian-like (i.e. dpkg-based) OS. { name ? "debian-build" +, lib , diskImage , src, stdenv, vmTools, checkinstall , fsTranslation ? false @@ -11,8 +12,6 @@ debRequires ? [] , ... } @ args: -with stdenv.lib; - vmTools.runInLinuxImage (stdenv.mkDerivation ( { @@ -59,8 +58,8 @@ vmTools.runInLinuxImage (stdenv.mkDerivation ( export PAGER=cat ${checkinstall}/sbin/checkinstall --nodoc -y -D \ --fstrans=${if fsTranslation then "yes" else "no"} \ - --requires="${concatStringsSep "," debRequires}" \ - --provides="${concatStringsSep "," debProvides}" \ + --requires="${lib.concatStringsSep "," debRequires}" \ + --provides="${lib.concatStringsSep "," debProvides}" \ ${if (src ? version) then "--pkgversion=$(echo ${src.version} | tr _ -)" else "--pkgversion=0.0.0"} \ ''${debMaintainer:+--maintainer="'$debMaintainer'"} \ |