forked from rosa/hakurei
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:
@@ -48,7 +48,9 @@ package python {
|
||||
];
|
||||
|
||||
exec = make {
|
||||
configure = { "enable-optimizations"; };
|
||||
check = [ "test" ];
|
||||
postInstall = "ln -s python3 /work/system/bin/python";
|
||||
};
|
||||
|
||||
inputs = [
|
||||
@@ -59,6 +61,8 @@ package python {
|
||||
|
||||
pkg-config,
|
||||
xz,
|
||||
|
||||
kernel-headers,
|
||||
];
|
||||
|
||||
runtime = [
|
||||
|
||||
@@ -203,7 +203,7 @@ var absCureScript = AbsSystem.Append(".cure-script")
|
||||
const (
|
||||
// TExclusive denotes an exclusive [pkg.Artifact].
|
||||
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
|
||||
// TNoToolchain excludes the LLVM toolchain.
|
||||
TNoToolchain
|
||||
|
||||
Reference in New Issue
Block a user