2022-11-20 16:23:58 +01:00
|
|
|
# This file defines overlays
|
2023-02-12 00:32:13 +01:00
|
|
|
{ inputs, outputs, ... }:
|
2022-11-20 16:23:58 +01:00
|
|
|
{
|
|
|
|
# This one brings our custom packages from the 'pkgs' directory
|
2023-07-31 06:51:55 +02:00
|
|
|
additions = final: _prev: import ../pkgs {
|
|
|
|
pkgs = final;
|
|
|
|
};
|
2022-11-20 16:23:58 +01:00
|
|
|
|
|
|
|
# This one contains whatever you want to overlay
|
|
|
|
# You can change versions, add patches, set compilation flags, anything really.
|
|
|
|
# https://nixos.wiki/wiki/Overlays
|
|
|
|
modifications = final: prev: {
|
|
|
|
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
|
|
|
# ...
|
|
|
|
# });
|
2023-07-31 06:51:55 +02:00
|
|
|
|
|
|
|
lib = prev.lib // {
|
|
|
|
maintainers = {
|
|
|
|
reo101 = {
|
|
|
|
name = "Pavel Atanasov";
|
|
|
|
email = "pavel.atanasov2001@gmail.com";
|
|
|
|
github = "reo101";
|
|
|
|
githubId = "37866329";
|
|
|
|
keys = [
|
|
|
|
{
|
|
|
|
fingerprint = "8A29 0250 C775 7813 1DD1 DC57 7275 0ABE E181 26D0";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-09-06 21:08:56 +02:00
|
|
|
himalaya = prev.himalaya.overrideAttrs (oldAttrs: rec {
|
|
|
|
buildInputs =
|
|
|
|
(prev.buildInputs or [ ]) ++
|
|
|
|
final.lib.optionals final.stdenv.isDarwin ([
|
|
|
|
(with final.darwin.apple_sdk.frameworks; [
|
|
|
|
Security
|
|
|
|
])
|
|
|
|
(with final; [
|
|
|
|
iconv
|
|
|
|
])
|
|
|
|
]);
|
|
|
|
});
|
|
|
|
|
2023-02-17 01:47:47 +01:00
|
|
|
river = prev.river.overrideAttrs (oldAttrs: rec {
|
|
|
|
xwaylandSupport = true;
|
|
|
|
});
|
2023-03-13 17:18:03 +01:00
|
|
|
|
2023-07-31 06:51:55 +02:00
|
|
|
discord = prev.discord.override {
|
|
|
|
withOpenASAR = true;
|
|
|
|
withVencord = true;
|
|
|
|
};
|
2023-04-17 13:13:13 +02:00
|
|
|
|
|
|
|
prismlauncher = prev.prismlauncher.overrideAttrs (oldAttrs: {
|
|
|
|
patches = (oldAttrs.patches or [ ]) ++ [
|
|
|
|
./offline-mode-prism-launcher.diff
|
|
|
|
];
|
|
|
|
});
|
2022-11-20 16:23:58 +01:00
|
|
|
};
|
|
|
|
}
|