etc
This commit is contained in:
parent
24b41c4faf
commit
7036f5db2a
7 changed files with 1316 additions and 121 deletions
49
wiiu-kernel-6.6.nix
Normal file
49
wiiu-kernel-6.6.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
# see https://discourse.nixos.org/t/port-nixos-to-ppc32/11965/13
|
||||
|
||||
{
|
||||
buildLinux,
|
||||
fetchFromGitLab,
|
||||
fetchurl,
|
||||
lib,
|
||||
stdenv,
|
||||
...
|
||||
}@args:
|
||||
lib.overrideDerivation
|
||||
(buildLinux (
|
||||
args
|
||||
// {
|
||||
version = "6.6.75-wiiu";
|
||||
src = fetchFromGitLab {
|
||||
owner = "linux-wiiu";
|
||||
repo = "linux-wiiu";
|
||||
rev = "841387c876c096f8dd0df1756541aa57b1166577"; # rewrite-6.6
|
||||
hash = "sha256-qrC9jdRGQusdZCYX/Lz1boPtEFGlc74A+lB3kEIDrSY=";
|
||||
};
|
||||
|
||||
autoModules = false;
|
||||
|
||||
features = {
|
||||
efiBootStub = false;
|
||||
iwlwifi = false;
|
||||
needsCifsUtils = false;
|
||||
};
|
||||
|
||||
enableCommonConfig = false;
|
||||
#structuredExtraConfig = import ./stripped-config.nix {
|
||||
# version = "6.6.75-wiiu";
|
||||
# inherit lib stdenv ;
|
||||
# rustAvailable = true;
|
||||
|
||||
# features = {}; # Ensure we know of all extra patches, etc.
|
||||
#};
|
||||
|
||||
defconfig = "wiiu_defconfig";
|
||||
}
|
||||
))
|
||||
(old: {
|
||||
postInstall =
|
||||
''
|
||||
cp arch/powerpc/boot/dtbImage.wiiu $out/
|
||||
''
|
||||
+ old.postInstall;
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue