buildLakePackage: Remove redundant bindings

These just redeclare bindings with their already declared
defaults
This commit is contained in:
Ross Smyth
2026-05-07 17:36:30 -04:00
parent 82b8052284
commit d692663784
+2 -8
View File
@@ -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