anbox: drop kernel modules package
All builds are broken: - 4.14 - 4.19 - 5.4 https://hydra.nixos.org/eval/1761072?filter=anbox&compare=1760998&full=#tabs-still-fail Let's just drop it. This leaves the anbox module possibly in a broken-ish state, but I'm not sure what to do about it.
This commit is contained in:
parent
271905a33f
commit
f433d91bb3
3 changed files with 0 additions and 47 deletions
|
@ -73,9 +73,6 @@ in
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ anbox ];
|
environment.systemPackages = with pkgs; [ anbox ];
|
||||||
|
|
||||||
boot.kernelModules = [ "ashmem_linux" "binder_linux" ];
|
|
||||||
boot.extraModulePackages = [ kernelPackages.anbox ];
|
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
KERNEL=="ashmem", NAME="%k", MODE="0666"
|
KERNEL=="ashmem", NAME="%k", MODE="0666"
|
||||||
KERNEL=="binder*", NAME="%k", MODE="0666"
|
KERNEL=="binder*", NAME="%k", MODE="0666"
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
{ lib, stdenv, kernel, fetchFromGitHub }:
|
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
pname = "anbox-modules";
|
|
||||||
version = "2020-06-14-${kernel.version}";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "anbox";
|
|
||||||
repo = "anbox-modules";
|
|
||||||
rev = "98f0f3b3b1eeb5a6954ca15ec43e150b76369086";
|
|
||||||
sha256 = "sha256-6xDJQ4YItdbYqle/9VNfOc7D80yFGd9cFyF+CuABaF0=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
|
||||||
|
|
||||||
KERNEL_SRC="${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
|
||||||
|
|
||||||
buildPhase = ''
|
|
||||||
for d in ashmem binder;do
|
|
||||||
cd $d
|
|
||||||
make
|
|
||||||
cd -
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
modDir=$out/lib/modules/${kernel.modDirVersion}/kernel/updates/
|
|
||||||
mkdir -p $modDir
|
|
||||||
for d in ashmem binder;do
|
|
||||||
mv $d/$d*.ko $modDir/.
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Anbox ashmem and binder drivers.";
|
|
||||||
homepage = "https://github.com/anbox/anbox-modules";
|
|
||||||
license = licenses.gpl2Only;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
broken = kernel.kernelAtLeast "5.5";
|
|
||||||
maintainers = with maintainers; [ edwtjo ];
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -271,8 +271,6 @@ in {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
anbox = callPackage ../os-specific/linux/anbox/kmod.nix { };
|
|
||||||
|
|
||||||
apfs = callPackage ../os-specific/linux/apfs { };
|
apfs = callPackage ../os-specific/linux/apfs { };
|
||||||
|
|
||||||
batman_adv = callPackage ../os-specific/linux/batman-adv {};
|
batman_adv = callPackage ../os-specific/linux/batman-adv {};
|
||||||
|
|
Loading…
Reference in a new issue