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 }: { 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 { rec {
@ -91,7 +109,7 @@ rec {
dontConfigure = true; dontConfigure = true;
dontBuild = true; dontBuild = true;
patchPhase = lib.optionalString isNixOS '' patchPhase = optionalString isNixOS ''
touch .update-on-nixos-rebuild touch .update-on-nixos-rebuild
''; '';