disable vf2 kernel outside of riscv

This commit is contained in:
Charlotte 🦝 Delenk 2023-03-18 08:01:47 +01:00
parent f3d9bdd3aa
commit 356ed0f650
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -15,7 +15,8 @@
input = "mautrix-cleanup";
inherit (pkgs) system;
};
in rec {
in
rec {
# The `lib`, `modules`, and `overlay` names are special
inherit lib;
modules = import ./modules; # NixOS modules
@ -67,8 +68,14 @@ in rec {
python-instagram = pkgs.python3Packages.callPackage ./python/instagram.nix {};
moa = pkgs.python3Packages.callPackage ./moa {};
inherit (attic'.defaultNix.packages.${pkgs.system}) attic attic-client attic-server;
vf2Kernel = pkgs.callPackage ./linux/vf2 {kernelPatches = [];};
vf2KernelPackages = pkgs.linuxPackagesFor vf2Kernel;
element-web = pkgs.callPackage ./matrix/element-web {};
mautrix-cleanup = mautrix-cleanup'.defaultNix.packages.${pkgs.system}.default;
}
}
// (
if pkgs.system == "riscv64-linux"
then {
vf2Kernel = pkgs.callPackage ./linux/vf2 {kernelPatches = [];};
vf2KernelPackages = pkgs.linuxPackagesFor vf2Kernel;
}
else {}
)