disable vf2 kernel outside of riscv
This commit is contained in:
parent
f3d9bdd3aa
commit
356ed0f650
1 changed files with 63 additions and 56 deletions
119
default.nix
119
default.nix
|
@ -15,60 +15,67 @@
|
||||||
input = "mautrix-cleanup";
|
input = "mautrix-cleanup";
|
||||||
inherit (pkgs) system;
|
inherit (pkgs) system;
|
||||||
};
|
};
|
||||||
in rec {
|
in
|
||||||
# The `lib`, `modules`, and `overlay` names are special
|
rec {
|
||||||
inherit lib;
|
# The `lib`, `modules`, and `overlay` names are special
|
||||||
modules = import ./modules; # NixOS modules
|
inherit lib;
|
||||||
overlays = import ./overlays; # nixpkgs overlays
|
modules = import ./modules; # NixOS modules
|
||||||
|
overlays = import ./overlays; # nixpkgs overlays
|
||||||
|
|
||||||
akkoma = pkgs.callPackage ./akkoma {};
|
akkoma = pkgs.callPackage ./akkoma {};
|
||||||
pleroma-fe = pkgs.callPackage ./akkoma/pleroma-fe {};
|
pleroma-fe = pkgs.callPackage ./akkoma/pleroma-fe {};
|
||||||
admin-fe = pkgs.callPackage ./akkoma/admin-fe {};
|
admin-fe = pkgs.callPackage ./akkoma/admin-fe {};
|
||||||
emoji-lotte = pkgs.callPackage ./art/emoji/lotte {};
|
emoji-lotte = pkgs.callPackage ./art/emoji/lotte {};
|
||||||
emoji-volpeon-blobfox = pkgs.callPackage ./art/emoji/volpeon/blobfox.nix {};
|
emoji-volpeon-blobfox = pkgs.callPackage ./art/emoji/volpeon/blobfox.nix {};
|
||||||
emoji-volpeon-blobfox-flip = pkgs.callPackage ./art/emoji/volpeon/blobfox_flip.nix {};
|
emoji-volpeon-blobfox-flip = pkgs.callPackage ./art/emoji/volpeon/blobfox_flip.nix {};
|
||||||
emoji-volpeon-bunhd = pkgs.callPackage ./art/emoji/volpeon/bunhd.nix {};
|
emoji-volpeon-bunhd = pkgs.callPackage ./art/emoji/volpeon/bunhd.nix {};
|
||||||
emoji-volpeon-bunhd-flip = pkgs.callPackage ./art/emoji/volpeon/bunhd_flip.nix {};
|
emoji-volpeon-bunhd-flip = pkgs.callPackage ./art/emoji/volpeon/bunhd_flip.nix {};
|
||||||
emoji-volpeon-drgn = pkgs.callPackage ./art/emoji/volpeon/drgn.nix {};
|
emoji-volpeon-drgn = pkgs.callPackage ./art/emoji/volpeon/drgn.nix {};
|
||||||
emoji-volpeon-fox = pkgs.callPackage ./art/emoji/volpeon/fox.nix {};
|
emoji-volpeon-fox = pkgs.callPackage ./art/emoji/volpeon/fox.nix {};
|
||||||
emoji-volpeon-gphn = pkgs.callPackage ./art/emoji/volpeon/gphn.nix {};
|
emoji-volpeon-gphn = pkgs.callPackage ./art/emoji/volpeon/gphn.nix {};
|
||||||
emoji-volpeon-raccoon = pkgs.callPackage ./art/emoji/volpeon/raccoon.nix {};
|
emoji-volpeon-raccoon = pkgs.callPackage ./art/emoji/volpeon/raccoon.nix {};
|
||||||
emoji-volpeon-vlpn = pkgs.callPackage ./art/emoji/volpeon/vlpn.nix {};
|
emoji-volpeon-vlpn = pkgs.callPackage ./art/emoji/volpeon/vlpn.nix {};
|
||||||
emoji-caro = pkgs.callPackage ./art/emoji/caro {};
|
emoji-caro = pkgs.callPackage ./art/emoji/caro {};
|
||||||
lotte-art = pkgs.callPackage ./art/lotte {};
|
lotte-art = pkgs.callPackage ./art/lotte {};
|
||||||
drone-runner-docker = pkgs.callPackage ./ci/drone-runner-docker {};
|
drone-runner-docker = pkgs.callPackage ./ci/drone-runner-docker {};
|
||||||
alco-sans = pkgs.callPackage ./fonts/kreative/alco-sans.nix {};
|
alco-sans = pkgs.callPackage ./fonts/kreative/alco-sans.nix {};
|
||||||
constructium = pkgs.callPackage ./fonts/kreative/constructium.nix {};
|
constructium = pkgs.callPackage ./fonts/kreative/constructium.nix {};
|
||||||
fairfax = pkgs.callPackage ./fonts/kreative/fairfax.nix {};
|
fairfax = pkgs.callPackage ./fonts/kreative/fairfax.nix {};
|
||||||
fairfax-hd = pkgs.callPackage ./fonts/kreative/fairfax-hd.nix {};
|
fairfax-hd = pkgs.callPackage ./fonts/kreative/fairfax-hd.nix {};
|
||||||
kreative-square = pkgs.callPackage ./fonts/kreative/kreative-square.nix {};
|
kreative-square = pkgs.callPackage ./fonts/kreative/kreative-square.nix {};
|
||||||
nasin-nanpa = pkgs.callPackage ./fonts/nasin-nanpa {};
|
nasin-nanpa = pkgs.callPackage ./fonts/nasin-nanpa {};
|
||||||
matrix-media-repo = pkgs.callPackage ./matrix/matrix-media-repo {};
|
matrix-media-repo = pkgs.callPackage ./matrix/matrix-media-repo {};
|
||||||
mautrix-discord = pkgs.callPackage ./matrix/mautrix-discord {};
|
mautrix-discord = pkgs.callPackage ./matrix/mautrix-discord {};
|
||||||
mautrix-whatsapp = pkgs.callPackage ./matrix/mautrix-whatsapp {};
|
mautrix-whatsapp = pkgs.callPackage ./matrix/mautrix-whatsapp {};
|
||||||
mautrix-signal = pkgs.callPackage ./matrix/mautrix-signal {};
|
mautrix-signal = pkgs.callPackage ./matrix/mautrix-signal {};
|
||||||
mautrix-telegram = pkgs.callPackage ./matrix/mautrix-telegram {};
|
mautrix-telegram = pkgs.callPackage ./matrix/mautrix-telegram {};
|
||||||
python-mautrix = pkgs.python3Packages.callPackage ./python/mautrix.nix {};
|
python-mautrix = pkgs.python3Packages.callPackage ./python/mautrix.nix {};
|
||||||
python-tulir-telethon = pkgs.python3Packages.callPackage ./python/tulir-telethon.nix {};
|
python-tulir-telethon = pkgs.python3Packages.callPackage ./python/tulir-telethon.nix {};
|
||||||
papermc = pkgs.callPackage ./minecraft/papermc {};
|
papermc = pkgs.callPackage ./minecraft/papermc {};
|
||||||
python-plover-stroke = pkgs.python3Packages.callPackage ./plover/plover-stroke.nix {};
|
python-plover-stroke = pkgs.python3Packages.callPackage ./plover/plover-stroke.nix {};
|
||||||
python-rtf-tokenize = pkgs.python3Packages.callPackage ./python/rtf-tokenize.nix {};
|
python-rtf-tokenize = pkgs.python3Packages.callPackage ./python/rtf-tokenize.nix {};
|
||||||
plover = pkgs.python3Packages.callPackage ./plover/plover {};
|
plover = pkgs.python3Packages.callPackage ./plover/plover {};
|
||||||
plover-plugins-manager = pkgs.python3Packages.callPackage ./plover/plover-plugins-manager.nix {};
|
plover-plugins-manager = pkgs.python3Packages.callPackage ./plover/plover-plugins-manager.nix {};
|
||||||
python-simplefuzzyset = pkgs.python3Packages.callPackage ./python/simplefuzzyset.nix {};
|
python-simplefuzzyset = pkgs.python3Packages.callPackage ./python/simplefuzzyset.nix {};
|
||||||
plover-plugin-emoji = pkgs.python3Packages.callPackage ./plover/plover-emoji.nix {};
|
plover-plugin-emoji = pkgs.python3Packages.callPackage ./plover/plover-emoji.nix {};
|
||||||
plover-plugin-tapey-tape = pkgs.python3Packages.callPackage ./plover/plover-tapey-tape.nix {};
|
plover-plugin-tapey-tape = pkgs.python3Packages.callPackage ./plover/plover-tapey-tape.nix {};
|
||||||
plover-plugin-yaml-dictionary = pkgs.python3Packages.callPackage ./plover/plover-yaml-dictionary.nix {};
|
plover-plugin-yaml-dictionary = pkgs.python3Packages.callPackage ./plover/plover-yaml-dictionary.nix {};
|
||||||
plover-plugin-machine-hid = pkgs.python3Packages.callPackage ./plover/plover-machine-hid.nix {};
|
plover-plugin-machine-hid = pkgs.python3Packages.callPackage ./plover/plover-machine-hid.nix {};
|
||||||
plover-plugin-rkb1-hid = pkgs.python3Packages.callPackage ./plover/plover-rkb1-hid.nix {};
|
plover-plugin-rkb1-hid = pkgs.python3Packages.callPackage ./plover/plover-rkb1-hid.nix {};
|
||||||
plover-dict-didoesdigital = pkgs.callPackage ./plover/didoesdigital-dictionary.nix {};
|
plover-dict-didoesdigital = pkgs.callPackage ./plover/didoesdigital-dictionary.nix {};
|
||||||
miifox-net = pkgs.python3Packages.callPackage ./web/miifox-net.nix {};
|
miifox-net = pkgs.python3Packages.callPackage ./web/miifox-net.nix {};
|
||||||
old-homepage = pkgs.callPackage ./web/old-homepage.nix {};
|
old-homepage = pkgs.callPackage ./web/old-homepage.nix {};
|
||||||
python-instagram = pkgs.python3Packages.callPackage ./python/instagram.nix {};
|
python-instagram = pkgs.python3Packages.callPackage ./python/instagram.nix {};
|
||||||
moa = pkgs.python3Packages.callPackage ./moa {};
|
moa = pkgs.python3Packages.callPackage ./moa {};
|
||||||
inherit (attic'.defaultNix.packages.${pkgs.system}) attic attic-client attic-server;
|
inherit (attic'.defaultNix.packages.${pkgs.system}) attic attic-client attic-server;
|
||||||
vf2Kernel = pkgs.callPackage ./linux/vf2 {kernelPatches = [];};
|
element-web = pkgs.callPackage ./matrix/element-web {};
|
||||||
vf2KernelPackages = pkgs.linuxPackagesFor vf2Kernel;
|
mautrix-cleanup = mautrix-cleanup'.defaultNix.packages.${pkgs.system}.default;
|
||||||
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