disable vf2 kernel outside of riscv
This commit is contained in:
parent
f3d9bdd3aa
commit
356ed0f650
1 changed files with 63 additions and 56 deletions
15
default.nix
15
default.nix
|
@ -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 {}
|
||||
)
|
||||
|
|
Reference in a new issue