Merge bscpkgs into jungle #189

Manually merged
rarias merged 1013 commits from merge-bscpkgs into master 2025-10-07 16:12:34 +02:00
Showing only changes of commit 9bb570af7f - Show all commits

View File

@@ -77,6 +77,14 @@ let
optionalInherit = l: a: filterAttrs (n: v: v!=null)
(overrideExisting (genNullAttr l) a);
# Given a float f, truncates it and returns the resulting the integer
floatTruncate = f: let
strFloat = toString f;
slices = splitString "." strFloat;
front = elemAt slices 0;
in
toInt front;
};
in
gen