Avoid top-level `with ...;` in pkgs/build-support/release/default.nix

authored by philiptaron.tngl.sh and committed by Valentin Gagarin f36441db 7c4a7108

+20 -2
+20 -2
pkgs/build-support/release/default.nix
··· 1 { lib, pkgs }: 2 3 - with pkgs; 4 5 rec { 6 ··· 91 dontConfigure = true; 92 dontBuild = true; 93 94 - patchPhase = lib.optionalString isNixOS '' 95 touch .update-on-nixos-rebuild 96 ''; 97
··· 1 { lib, pkgs }: 2 3 + let 4 + inherit (lib) optionalString; 5 + 6 + inherit (pkgs) 7 + autoconf 8 + automake 9 + checkinstall 10 + clang-analyzer 11 + cov-build 12 + enableGCOVInstrumentation 13 + lcov 14 + libtool 15 + makeGCOVReport 16 + runCommand 17 + stdenv 18 + vmTools 19 + xz 20 + ; 21 + in 22 23 rec { 24 ··· 109 dontConfigure = true; 110 dontBuild = true; 111 112 + patchPhase = optionalString isNixOS '' 113 touch .update-on-nixos-rebuild 114 ''; 115