mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-15 19:23:01 +03:00
kernel-builder: Provide patched sources to menuconfig
Important, otherwise we lose additional options that may have been patched-in!
This commit is contained in:
parent
84aa84e606
commit
4976412278
@ -233,6 +233,21 @@ let kernel = stdenv.mkDerivation {
|
|||||||
passthru = {
|
passthru = {
|
||||||
# Patching over this configuration to expose menuconfig.
|
# Patching over this configuration to expose menuconfig.
|
||||||
menuconfig = kernel.overrideAttrs({nativeBuildInputs ? [] , ...}: {
|
menuconfig = kernel.overrideAttrs({nativeBuildInputs ? [] , ...}: {
|
||||||
|
# What, another level of overriding???
|
||||||
|
# This time, it's to get patched sources.
|
||||||
|
# We'll need them at run-time for nconfig.
|
||||||
|
src = kernel.overrideAttrs({...}: {
|
||||||
|
buildPhase = ":";
|
||||||
|
configurePhase = ":";
|
||||||
|
fixupPhase = ":";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
cp -prf . $out
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
|
patchPhase = "echo 'Skipping, already ran...'";
|
||||||
|
|
||||||
nativeBuildInputs = nativeBuildInputs ++ [
|
nativeBuildInputs = nativeBuildInputs ++ [
|
||||||
pkgconfig
|
pkgconfig
|
||||||
ncurses
|
ncurses
|
||||||
|
Loading…
Reference in New Issue
Block a user