summary refs log tree commit diff
path: root/pkgs/build-support/release
diff options
context:
space:
mode:
authorDamien Diederen <dd@crosstwine.com>2021-02-04 18:24:18 +0100
committerDamien Diederen <dd@crosstwine.com>2021-02-05 21:20:22 +0100
commit56124f3e66ea302818e979e5f86f1464f6340270 (patch)
treeac9ccb0ebc8c344659ebf260160c420a848022f2 /pkgs/build-support/release
parent9744abab00769098b7d159a6426647ed78eb6494 (diff)
downloadnixpkgs-56124f3e66ea302818e979e5f86f1464f6340270.tar
nixpkgs-56124f3e66ea302818e979e5f86f1464f6340270.tar.gz
nixpkgs-56124f3e66ea302818e979e5f86f1464f6340270.tar.bz2
nixpkgs-56124f3e66ea302818e979e5f86f1464f6340270.tar.lz
nixpkgs-56124f3e66ea302818e979e5f86f1464f6340270.tar.xz
nixpkgs-56124f3e66ea302818e979e5f86f1464f6340270.tar.zst
nixpkgs-56124f3e66ea302818e979e5f86f1464f6340270.zip
debBuild: Fix for "cannot coerce a set to a string"
Nix won't let us turn `lib` into an environment variable.

As discussed here:

  https://github.com/NixOS/nixpkgs/pull/111672#issuecomment-773484089
Diffstat (limited to 'pkgs/build-support/release')
-rw-r--r--pkgs/build-support/release/debian-build.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/release/debian-build.nix b/pkgs/build-support/release/debian-build.nix
index 9ac335d288a..2ab9ebb85f8 100644
--- a/pkgs/build-support/release/debian-build.nix
+++ b/pkgs/build-support/release/debian-build.nix
@@ -22,7 +22,7 @@ vmTools.runInLinuxImage (stdenv.mkDerivation (
     prePhases = "installExtraDebsPhase sysInfoPhase";
   }
 
-  // removeAttrs args ["vmTools"] //
+  // removeAttrs args ["vmTools" "lib"] //
 
   {
     name = name + "-" + diskImage.name + (if src ? version then "-" + src.version else "");