internal/rosa: improve helper bindings

This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
cat
2026-08-10 21:55:47 +09:00
parent 7d86e19c07
commit 7193656b6a
47 changed files with 153 additions and 163 deletions
+5 -6
View File
@@ -38,10 +38,9 @@ package nss {
early = "\nln -s extra/nspr/nspr /usr/src/nspr\nchmod +w ../nspr/\n";
exec = make {
omitDefaults = true;
skipConfigure = true;
inPlace = true;
defaults = false;
chdir = false;
configure = nil;
make = [
"CCC=clang++",
"NSDISTMODE=copy",
@@ -49,7 +48,7 @@ package nss {
"USE_64=1",
"nss_build_all",
];
skipCheck = true;
check = nil;
install = `
cp -r \
/usr/src/dist/. \
@@ -80,7 +79,7 @@ package nss-cacert {
enterSource = true;
exec = generic {
inPlace = true;
chdir = false;
build = `
mkdir -p /work/system/etc/ssl/{certs/unbundled,certs/hashed,trust-source}
buildcatrust \