mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-17 21:11:34 +03:00
a047bdda03
* Remove braveheart specific naming
26 lines
635 B
Nix
26 lines
635 B
Nix
{
|
|
mobile-nixos
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
mobile-nixos.kernel-builder {
|
|
version = "5.8.0";
|
|
configfile = ./config.aarch64;
|
|
src = fetchFromGitHub {
|
|
owner = "mobile-nixos";
|
|
repo = "linux";
|
|
rev = "555692adddc0e74946e6f0a32fee1b0cd21bbbc3";
|
|
sha256 = "0njq3r1g39rh1xgrk9bgscqx9cj6nvs7y8jjcdqjkb6pbrc3kfmy";
|
|
};
|
|
patches = [
|
|
./0001-dts-pinephone-Setup-default-on-and-panic-LEDs.patch
|
|
];
|
|
|
|
# Install *only* the desired FDTs
|
|
postInstall = ''
|
|
echo ":: Installing FDTs"
|
|
mkdir -p "$out/dtbs/allwinner"
|
|
cp -v $buildRoot/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-*.dtb $out/dtbs/allwinner/
|
|
'';
|
|
}
|