forked from rosa/hakurei
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:
@@ -23,14 +23,9 @@ package musl-headers {
|
||||
];
|
||||
|
||||
exec = make {
|
||||
omitDefaults = true;
|
||||
skipCheck = true;
|
||||
|
||||
make = [
|
||||
"DESTDIR=/work",
|
||||
"install-headers",
|
||||
];
|
||||
|
||||
defaults = false;
|
||||
make = [ "DESTDIR=/work", "install-headers" ];
|
||||
check = nil;
|
||||
install = "# headers installed during make";
|
||||
};
|
||||
|
||||
@@ -53,9 +48,8 @@ package musl {
|
||||
];
|
||||
|
||||
exec = make {
|
||||
omitDefaults = true;
|
||||
skipCheck = true;
|
||||
|
||||
defaults = false;
|
||||
check = nil;
|
||||
postInstall = `
|
||||
mkdir -p /work/system/bin
|
||||
COMPAT_LINKER_NAME="ld-musl-` + linuxArch + `.so.1"
|
||||
|
||||
Reference in New Issue
Block a user