From d692663784e44b1f6d757f61e61c8dce9e8ed9c8 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Thu, 7 May 2026 15:45:02 -0400 Subject: [PATCH] buildLakePackage: Remove redundant bindings These just redeclare bindings with their already declared defaults --- pkgs/build-support/lake/default.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/pkgs/build-support/lake/default.nix b/pkgs/build-support/lake/default.nix index 79befcbe7d41..4836615b8286 100644 --- a/pkgs/build-support/lake/default.nix +++ b/pkgs/build-support/lake/default.nix @@ -68,12 +68,6 @@ lib.extendMkDerivation { ... }@args: let - lakeDeps' = args.lakeDeps or null; - lakeHash = args.lakeHash or null; - leanDeps = args.leanDeps or [ ]; - overrideLakeDepsAttrs = args.overrideLakeDepsAttrs or (_: _: { }); - buildTargets = args.buildTargets or [ ]; - isLibrary = args.isLibrary or true; leanPackageName = args.leanPackageName or finalAttrs.pname; allLeanDeps = lib.unique ( @@ -81,8 +75,8 @@ lib.extendMkDerivation { ); computedLakeDeps = - if lakeDeps' != null then - lakeDeps' + if lakeDeps != null then + lakeDeps else if lakeHash == null then null else