feat: infuse

This commit is contained in:
2025-05-03 14:13:53 +08:00
parent 095d9ecb67
commit 36d63a667c
2 changed files with 28 additions and 21 deletions

View File

@@ -1,19 +1,17 @@
{ inputs, ... }:
{ inputs, infuse, ... }:
{
additions = final: prev: import ../pkgs prev;
modifications = final: prev: {
cage = prev.cage.overrideAttrs {
patches = [ ./cage-specify-output-name.patch ];
};
qq = prev.qq.overrideAttrs {
preInstall = ''
modifications =
final: prev:
infuse prev {
cage.__output.patches.__append = [ ./cage-specify-output-name.patch ];
qq.__output.preInstall.__append = ''
gappsWrapperArgs+=(
--prefix GTK_IM_MODULE : fcitx
)
'';
};
};
# this allows us to access specific version of nixpkgs
# by `pkgs.unstable`, `pkgs.stable` and `pkgs.master`