dotfiles.nix/pkgs/default.nix

20 lines
704 B
Nix
Raw Normal View History

2023-10-26 02:37:42 +00:00
inputs: self: super: {
inherit (inputs) terminal-themes;
# get flake inputs prefixed with fish-plugin- and inject them into fishPlugins as a single list
2023-10-26 02:37:42 +00:00
fishPlugins = super.fishPlugins // {
flakePlugins = let
srcs =
self.lib.filterAttrs (input: _: self.lib.hasPrefix "fish-plugin-" input)
inputs;
in self.lib.mapAttrsToList (input: src: {
name = self.lib.removePrefix "fish-plugin-" input;
inherit src;
}) srcs;
2022-12-20 02:45:46 +00:00
};
2023-10-26 02:37:42 +00:00
ia-writer-family = self.callPackage ./ia-writer-family.nix {
inherit (inputs) ia-writer-family-src;
};
recursive-patched = self.callPackage ./recursive-patched.nix { };
2023-10-26 02:37:42 +00:00
yubiswitch = self.callPackage ./yubiswitch.nix { };
}