nix-packages/default.nix
2023-09-30 14:14:13 +01:00

97 lines
2.4 KiB
Nix

# This file describes your repository contents.
# It should return a set of nix derivations
# and optionally the special attributes `lib`, `modules` and `overlays`.
# It should NOT import <nixpkgs>. Instead, you should take pkgs as an argument.
# Having pkgs default to <nixpkgs> is fine though, and it lets you use short
# commands such as:
# nix-build -A mypackage
{pkgs ? import <nixpkgs> {}}: let
lib = import ./lib {inherit pkgs;}; # functions
flake = (lib.importFlake {inherit (pkgs) system;}).defaultNix;
pkgsWithOverlay = pkgs.appendOverlays [(import ./overlay.nix pkgs.system)];
in
{
# The `lib`, `modules`, and `overlay` names are special
inherit (flake) lib modules overlays;
}
// {
inherit
(pkgsWithOverlay)
akkoma
akkoma-fe
admin-fe
emoji-lotte
emoji-volpeon-blobfox
emoji-volpeon-blobfox-flip
emoji-volpeon-bunhd
emoji-volpeon-bunhd-flip
emoji-volpeon-drgn
emoji-volpeon-fox
emoji-volpeon-gphn
emoji-volpeon-raccoon
emoji-volpeon-vlpn
emoji-volpeon-neofox
emoji-volpeon-neocat
emoji-caro
lotte-art
alco-sans
constructium
fairfax
fairfax-hd
kreative-square
nasin-nanpa
matrix-media-repo
mautrix-discord
mautrix-whatsapp
mautrix-signal
mautrix-telegram
python-mautrix
python-tulir-telethon
papermc
python-plover-stroke
python-rtf-tokenize
plover
plover-plugins-manager
python-simplefuzzyset
plover-plugin-emoji
plover-plugin-tapey-tape
plover-plugin-yaml-dictionary
plover-plugin-machine-hid
plover-plugin-rkb1-hid
plover-dict-didoesdigital
miifox-net
old-homepage
python-instagram
element-web
mautrix-cleanup
woodpecker-agent
woodpecker-cli
woodpecker-frontend
woodpecker-server
hydra
hydra-unstable
wordpress-plugins
wordpress-themes
kubo
plover-plugin-python-dictionary
plover-plugin-stenotype-extended
plover-plugin-dotool-output
asar-asm
bsnes-plus
sliding-sync
;
}
// (
if pkgs.system == "riscv64-linux"
then {
inherit (pkgsWithOverlay) vf2Kernel valgrind;
}
else {}
)
// (
if pkgs.system == "x86_64-linux"
then {
inherit (pkgsWithOverlay) linux-bcachefs bcachefs-tools;
}
else {}
)