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

This commit is contained in:
Philip Taron 2024-03-14 10:50:33 -07:00 committed by Valentin Gagarin
parent 7c4a71081c
commit f36441dbd8

View file

@ -1,6 +1,24 @@
{ lib, pkgs }:
with pkgs;
let
inherit (lib) optionalString;
inherit (pkgs)
autoconf
automake
checkinstall
clang-analyzer
cov-build
enableGCOVInstrumentation
lcov
libtool
makeGCOVReport
runCommand
stdenv
vmTools
xz
;
in
rec {
@ -91,7 +109,7 @@ rec {
dontConfigure = true;
dontBuild = true;
patchPhase = lib.optionalString isNixOS ''
patchPhase = optionalString isNixOS ''
touch .update-on-nixos-rebuild
'';