dotfiles.nix/pkgs/default.nix

26 lines
900 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 // {
2024-07-18 14:16:04 +00:00
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;
};
2024-07-18 14:16:04 +00:00
mac-app-util = inputs.mac-app-util.packages.${super.stdenv.system}.default.overrideAttrs (old: {
postInstall =
old.postInstall
+ ''
2023-12-23 01:49:53 +00:00
wrapProgram "$out/bin/mac-app-util" --suffix PATH : "${super.jq}/bin"
'';
2024-07-18 14:16:04 +00:00
});
recursive-patched = self.callPackage ./recursive-patched.nix { };
2023-10-26 02:37:42 +00:00
}