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 1 { lib, pkgs }: 2 2 3 - with pkgs; 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 4 22 5 23 rec { 6 24 ··· 91 109 dontConfigure = true; 92 110 dontBuild = true; 93 111 94 - patchPhase = lib.optionalString isNixOS '' 112 + patchPhase = optionalString isNixOS '' 95 113 touch .update-on-nixos-rebuild 96 114 ''; 97 115