This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/overlay.nix
Charlotte 🦝 Delenk 47bb10ac8f
Some checks reported errors
Hydra emoji-volpeon-drgn Hydra build #54748 of nix-packages:aarch64-linux-master-pr276:emoji-volpeon-drgn
Hydra vf2Kernel Hydra build #53961 of nix-packages:riscv64-linux-master-pr276:vf2Kernel
Hydra plover-plugin-yaml-dictionary Hydra build #54773 of nix-packages:riscv64-linux-master:plover-plugin-yaml-dictionary
Hydra plover-plugin-tapey-tape Hydra build #54784 of nix-packages:riscv64-linux-master:plover-plugin-tapey-tape
Hydra admin-fe Hydra build #54789 of nix-packages:riscv64-linux-master:admin-fe
Hydra plover-plugin-rkb1-hid Hydra build #54796 of nix-packages:riscv64-linux-master:plover-plugin-rkb1-hid
Hydra packages.pleroma-fe.riscv64-linux Hydra build #54836 of flakes:nix-packages:packages.pleroma-fe.riscv64-linux
Hydra packages.fcitx5.riscv64-linux Hydra build #54856 of flakes:nix-packages:packages.fcitx5.riscv64-linux
Hydra plover-plugins-manager Hydra build #54739 of nix-packages:riscv64-linux-master-pr276:plover-plugins-manager
Hydra akkoma Hydra build #54755 of nix-packages:riscv64-linux-master-pr276:akkoma
Hydra plover-plugin-machine-hid Hydra build #54757 of nix-packages:riscv64-linux-master:plover-plugin-machine-hid
Hydra pleroma-fe Hydra build #54764 of nix-packages:riscv64-linux-master:pleroma-fe
Hydra plover Hydra build #54766 of nix-packages:riscv64-linux-master:plover
Hydra fcitx5 Hydra build #54767 of nix-packages:riscv64-linux-master:fcitx5
Hydra plover-plugin-emoji Hydra build #54771 of nix-packages:riscv64-linux-master:plover-plugin-emoji
Hydra packages.plover-plugin-machine-hid.riscv64-linux Hydra build #55077 of flakes:nix-packages:packages.plover-plugin-machine-hid.riscv64-linux
Hydra packages.plover-plugin-emoji.riscv64-linux Hydra build #55145 of flakes:nix-packages:packages.plover-plugin-emoji.riscv64-linux
Hydra packages.plover-plugin-tapey-tape.riscv64-linux Hydra build #55199 of flakes:nix-packages:packages.plover-plugin-tapey-tape.riscv64-linux
Hydra packages.plover-plugin-yaml-dictionary.riscv64-linux Hydra build #54866 of flakes:nix-packages:packages.plover-plugin-yaml-dictionary.riscv64-linux
Hydra packages.plover-plugins-manager.riscv64-linux Hydra build #54884 of flakes:nix-packages:packages.plover-plugins-manager.riscv64-linux
Hydra packages.admin-fe.riscv64-linux Hydra build #54921 of flakes:nix-packages:packages.admin-fe.riscv64-linux
Hydra packages.plover-plugin-rkb1-hid.riscv64-linux Hydra build #54931 of flakes:nix-packages:packages.plover-plugin-rkb1-hid.riscv64-linux
Hydra packages.plover.riscv64-linux Hydra build #54935 of flakes:nix-packages:packages.plover.riscv64-linux
Hydra packages.akkoma.riscv64-linux Hydra build #54943 of flakes:nix-packages:packages.akkoma.riscv64-linux
Hydra valgrind Hydra build #54777 of nix-packages:riscv64-linux-master:valgrind
Hydra packages.valgrind.riscv64-linux Hydra build #55128 of flakes:nix-packages:packages.valgrind.riscv64-linux
Hydra element-web Hydra build #53967 of nix-packages:riscv64-linux-master-pr276:element-web
Hydra woodpecker-server Hydra build #54692 of nix-packages:riscv64-linux-master-pr276:woodpecker-server
Hydra woodpecker-frontend Hydra build #54693 of nix-packages:riscv64-linux-master-pr276:woodpecker-frontend
Hydra packages.woodpecker-server.riscv64-linux Hydra build #55194 of flakes:nix-packages:packages.woodpecker-server.riscv64-linux
Hydra packages.element-web.riscv64-linux Hydra build #54883 of flakes:nix-packages:packages.element-web.riscv64-linux
Hydra packages.woodpecker-frontend.riscv64-linux Hydra build #54966 of flakes:nix-packages:packages.woodpecker-frontend.riscv64-linux
Hydra packages.matrix-media-repo.riscv64-linux Hydra build #55089 of flakes:nix-packages:packages.matrix-media-repo.riscv64-linux
Hydra matrix-media-repo Hydra build #53977 of nix-packages:riscv64-linux-master-pr276:matrix-media-repo
Hydra packages.mautrix-whatsapp.riscv64-linux Hydra build #54859 of flakes:nix-packages:packages.mautrix-whatsapp.riscv64-linux
Hydra woodpecker-agent Hydra build #54695 of nix-packages:riscv64-linux-master-pr276:woodpecker-agent
Hydra mautrix-discord Hydra build #54697 of nix-packages:riscv64-linux-master-pr276:mautrix-discord
Hydra kubo Hydra build #54758 of nix-packages:riscv64-linux-master:kubo
Hydra woodpecker-cli Hydra build #54760 of nix-packages:riscv64-linux-master:woodpecker-cli
Hydra mautrix-whatsapp Hydra build #54769 of nix-packages:riscv64-linux-master:mautrix-whatsapp
Hydra packages.mautrix-discord.riscv64-linux Hydra build #55071 of flakes:nix-packages:packages.mautrix-discord.riscv64-linux
Hydra packages.woodpecker-agent.riscv64-linux Hydra build #55072 of flakes:nix-packages:packages.woodpecker-agent.riscv64-linux
Hydra packages.woodpecker-cli.riscv64-linux Hydra build #55102 of flakes:nix-packages:packages.woodpecker-cli.riscv64-linux
Hydra packages.kubo.riscv64-linux Hydra build #54889 of flakes:nix-packages:packages.kubo.riscv64-linux
Hydra miifox-net Hydra build #54783 of nix-packages:riscv64-linux-master:miifox-net
Hydra packages.miifox-net.riscv64-linux Hydra build #54969 of flakes:nix-packages:packages.miifox-net.riscv64-linux
Hydra wordpress-plugins.indieauth Hydra build #53976 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.indieauth
Hydra wordpress-plugins.modern-footnotes Hydra build #53978 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.modern-footnotes
Hydra wordpress-plugins.webfinger Hydra build #53971 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.webfinger
Hydra wordpress-plugins.indieweb Hydra build #53982 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.indieweb
Hydra wordpress-themes.sempress Hydra build #53988 of nix-packages:riscv64-linux-master-pr276:wordpress-themes.sempress
Hydra constructium Hydra build #53984 of nix-packages:riscv64-linux-master-pr276:constructium
Hydra wordpress-plugins.wp-super-cache Hydra build #53987 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.wp-super-cache
Hydra alco-sans Hydra build #53990 of nix-packages:riscv64-linux-master-pr276:alco-sans
Hydra wordpress-plugins.wordpress-seo Hydra build #53991 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.wordpress-seo
Hydra fairfax Hydra build #53992 of nix-packages:riscv64-linux-master-pr276:fairfax
Hydra wordpress-plugins.activitypub Hydra build #53994 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.activitypub
Hydra wordpress-plugins.pubsubhubbub Hydra build #53997 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.pubsubhubbub
Hydra wordpress-plugins.micropub Hydra build #53998 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.micropub
Hydra wordpress-plugins.modern-images-wp Hydra build #54004 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.modern-images-wp
Hydra wordpress-plugins.jetpack Hydra build #53993 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.jetpack
Hydra kreative-square Hydra build #54005 of nix-packages:riscv64-linux-master-pr276:kreative-square
Hydra wordpress-plugins.google-sitemap-generator Hydra build #54008 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.google-sitemap-generator
Hydra wordpress-plugins.indieweb-post-kinds Hydra build #54010 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.indieweb-post-kinds
Hydra wordpress-plugins.classic-editor Hydra build #54015 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.classic-editor
Hydra wordpress-plugins.friends Hydra build #54017 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.friends
Hydra wordpress-plugins.polylang Hydra build #54021 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.polylang
Hydra wordpress-plugins.nodeinfo Hydra build #54026 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.nodeinfo
Hydra wordpress-plugins.the-plus-addons-for-block-editor Hydra build #54024 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.the-plus-addons-for-block-editor
Hydra wordpress-plugins.webmention Hydra build #54027 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.webmention
Hydra wordpress-plugins.ilab-media-tools Hydra build #54013 of nix-packages:riscv64-linux-master-pr276:wordpress-plugins.ilab-media-tools
fix various build failures
2023-06-30 13:17:57 +01:00

131 lines
6.5 KiB
Nix

# You can use this file as a nixself overlay. This is useful in the
# case where you don't want to add the whole NUR namespace to your
# configuration.
system: self: super: let
lib = import ./lib {pkgs = super;}; # functions
flake = (lib.importFlake {inherit system;}).defaultNix;
getFlake = flakeName: let
lib = import ./lib {pkgs = super;};
flake = (lib.importFlake {inherit system;}).defaultNix;
in
flake.inputs.${flakeName};
getFlakeOverlay = flakeName: overlay: self: super: (getFlake flakeName).outputs.overlays.${overlay} self super;
riscv-overlay =
if system == "riscv64-linux"
then
(self: super: {
vf2Kernel = self.callPackage ./linux/vf2 {kernelPatches = [];};
meson = super.meson.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
libarchive = super.libarchive.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
openexr = super.openexr.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
libopus = super.libopus.overrideAttrs (_: {
mesonFlags = [
"-Dfixed-point=false"
"-Dcustom-modes=true"
"-Dintrinsics=disabled"
"-Drtcd=disabled"
"-Dasm=disabled"
"-Dasm=disabled"
"-Ddocs=disabled"
];
doCheck = false;
doInstallCheck = false;
});
valgrind = self.callPackage ./riscv/valgrind {};
valgrind-light = self.valgrind;
openldap = super.openldap.overrideAttrs (_: {
doCheck = false;
doInstallCheck = false;
});
})
else (_: _: {});
overlays = [
(getFlakeOverlay "attic" "default")
(getFlakeOverlay "gomod2nix" "default")
(self: super: {
akkoma = self.callPackage ./akkoma {};
pleroma-fe = self.callPackage ./akkoma/pleroma-fe {};
admin-fe = self.callPackage ./akkoma/admin-fe {};
emoji-lotte = self.callPackage ./art/emoji/lotte {};
emoji-volpeon-blobfox = self.callPackage ./art/emoji/volpeon/blobfox.nix {};
emoji-volpeon-blobfox-flip = self.callPackage ./art/emoji/volpeon/blobfox_flip.nix {};
emoji-volpeon-bunhd = self.callPackage ./art/emoji/volpeon/bunhd.nix {};
emoji-volpeon-bunhd-flip = self.callPackage ./art/emoji/volpeon/bunhd_flip.nix {};
emoji-volpeon-drgn = self.callPackage ./art/emoji/volpeon/drgn.nix {};
emoji-volpeon-fox = self.callPackage ./art/emoji/volpeon/fox.nix {};
emoji-volpeon-gphn = self.callPackage ./art/emoji/volpeon/gphn.nix {};
emoji-volpeon-raccoon = self.callPackage ./art/emoji/volpeon/raccoon.nix {};
emoji-volpeon-vlpn = self.callPackage ./art/emoji/volpeon/vlpn.nix {};
emoji-caro = self.callPackage ./art/emoji/caro {};
lotte-art = self.callPackage ./art/lotte {};
alco-sans = self.callPackage ./fonts/kreative/alco-sans.nix {};
constructium = self.callPackage ./fonts/kreative/constructium.nix {};
fairfax = self.callPackage ./fonts/kreative/fairfax.nix {};
fairfax-hd = self.callPackage ./fonts/kreative/fairfax-hd.nix {};
kreative-square = self.callPackage ./fonts/kreative/kreative-square.nix {};
nasin-nanpa = self.callPackage ./fonts/nasin-nanpa {};
matrix-media-repo = self.callPackage ./matrix/matrix-media-repo {};
mautrix-discord = self.callPackage ./matrix/mautrix-discord {};
mautrix-whatsapp = self.callPackage ./matrix/mautrix-whatsapp {};
mautrix-signal = self.callPackage ./matrix/mautrix-signal {};
mautrix-telegram = self.callPackage ./matrix/mautrix-telegram {};
python-mautrix = self.python3Packages.callPackage ./python/mautrix.nix {};
python-tulir-telethon = self.python3Packages.callPackage ./python/tulir-telethon.nix {};
papermc = self.callPackage ./minecraft/papermc {};
python-plover-stroke = self.python3Packages.callPackage ./plover/plover-stroke.nix {};
python-rtf-tokenize = self.python3Packages.callPackage ./python/rtf-tokenize.nix {};
plover = self.python3Packages.callPackage ./plover/plover {};
plover-plugins-manager = self.python3Packages.callPackage ./plover/plover-plugins-manager.nix {};
python-simplefuzzyset = self.python3Packages.callPackage ./python/simplefuzzyset.nix {};
plover-plugin-emoji = self.python3Packages.callPackage ./plover/plover-emoji.nix {};
plover-plugin-tapey-tape = self.python3Packages.callPackage ./plover/plover-tapey-tape.nix {};
plover-plugin-yaml-dictionary = self.python3Packages.callPackage ./plover/plover-yaml-dictionary.nix {};
plover-plugin-machine-hid = self.python3Packages.callPackage ./plover/plover-machine-hid.nix {};
plover-plugin-rkb1-hid = self.python3Packages.callPackage ./plover/plover-rkb1-hid.nix {};
plover-dict-didoesdigital = self.callPackage ./plover/didoesdigital-dictionary.nix {};
miifox-net = self.python3Packages.callPackage ./web/miifox-net.nix {};
old-homepage = self.callPackage ./web/old-homepage.nix {};
python-instagram = self.python3Packages.callPackage ./python/instagram.nix {};
element-web = self.callPackage ./matrix/element-web {};
mautrix-cleanup = flake.inputs.mautrix-cleanup.packages.${system}.default;
woodpecker-agent = self.callPackage ./ci/woodpecker/agent.nix {};
woodpecker-cli = self.callPackage ./ci/woodpecker/cli.nix {};
woodpecker-frontend = self.callPackage ./ci/woodpecker/frontend.nix {};
woodpecker-server = self.callPackage ./ci/woodpecker/server.nix {};
hydra = (getFlake "hydra").outputs.packages.${system}.hydra.overrideAttrs (super: {
doCheck = false;
patches =
(super.patches or [])
++ [
./ci/hydra/add-gitea-push-hook.patch
./ci/hydra/jobset-inputs-for-flakes.patch
./ci/hydra/remove-hydra-size-limit.patch
];
});
hydra-unstable = self.hydra;
wordpress-plugins = self.callPackage ./web/wordpress-plugins {};
wordpress-themes = self.callPackage ./web/wordpress-themes {};
kubo = self.callPackage ./ipfs/kubo {};
fcitx5 = super.fcitx5.overrideAttrs (_: {
src = self.callPackage ./i18n/fcitx5/patched-source.nix {inherit (super) fcitx5;};
});
linux-bcachefs = self.callPackage ./linux/bcachefs {kernelPatches = [];};
bcachefs-tools = self.callPackage ./linux/bcachefs-tools {};
})
riscv-overlay
];
in
super.lib.composeManyExtensions overlays self super