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 = [
|
||||
|
||||
Reference in New Issue
Block a user