internal/rosa/package/python: add kernel-headers

Missing kernel headers implicitly disables many useful things. This change also enables PGO and installs symlink, since a rebuild is unavoidable.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-06-10 16:30:52 +09:00
parent c661a3b63a
commit 5992be3dd3
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -48,7 +48,9 @@ package python {
]; ];
exec = make { exec = make {
configure = { "enable-optimizations"; };
check = [ "test" ]; check = [ "test" ];
postInstall = "ln -s python3 /work/system/bin/python";
}; };
inputs = [ inputs = [
@@ -59,6 +61,8 @@ package python {
pkg-config, pkg-config,
xz, xz,
kernel-headers,
]; ];
runtime = [ runtime = [
+1 -1
View File
@@ -203,7 +203,7 @@ var absCureScript = AbsSystem.Append(".cure-script")
const ( const (
// TExclusive denotes an exclusive [pkg.Artifact]. // TExclusive denotes an exclusive [pkg.Artifact].
TExclusive = 1 << iota TExclusive = 1 << iota
// TEarly hints for an early variant of [Toybox] to be used when available. // TEarly hints for an early variant of toybox to be used when available.
TEarly TEarly
// TNoToolchain excludes the LLVM toolchain. // TNoToolchain excludes the LLVM toolchain.
TNoToolchain TNoToolchain