Convert emacs-vterm and isync-oauth2 to overlays

This commit is contained in:
2023-01-04 12:54:58 +01:00
parent 473b942bec
commit 596963d834
5 changed files with 29 additions and 11 deletions

12
overlays/emacs-vterm.nix Normal file
View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
with pkgs;
{
nixpkgs.overlays = [
(final: prev: {
emacs-vterm = ((emacsPackagesFor emacs28NativeComp).emacsWithPackages
(epkgs: with epkgs; [ vterm pdf-tools ]));
})
];
}

14
overlays/isync-oauth2.nix Normal file
View File

@@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
with pkgs;
{
nixpkgs.overlays = [
(final: prev: {
isync-oauth2 = isync.overrideAttrs (div: rec {
buildInputs = [ openssl db patched-cyrus-sasl-oauth2 zlib ];
});
})
];
}