diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-23 19:09:02 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-10-23 19:09:02 +0200 |
commit | e7b6d7f146d4d538617545cbe538695bf4685dd0 (patch) | |
tree | 3307e303762ddb17f5073b59c39fc90e989a4fc2 /overlays.nix | |
parent | 4a196446614f5235079efb9fa5cccb2beeaccc9d (diff) | |
download | dots-e7b6d7f146d4d538617545cbe538695bf4685dd0.tar.gz dots-e7b6d7f146d4d538617545cbe538695bf4685dd0.zip |
Update config
Diffstat (limited to 'overlays.nix')
-rw-r--r-- | overlays.nix | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/overlays.nix b/overlays.nix index 56da0df..87042fc 100644 --- a/overlays.nix +++ b/overlays.nix @@ -1,16 +1,27 @@ [ (self: super: -let rev1 = "bd7360b"; -in { - neovim-unwrapped = super.neovim-unwrapped.overrideAttrs (oldAttrs: rec { - version = "nightly-${rev1}"; - src = super.fetchFromGitHub rec { - name = "source-${oldAttrs.pname}-${version}-${rev1}"; - owner = "neovim"; - repo = "neovim"; - rev = rev1; - sha256 = "0lg9hwvcaiwj9z6wp9rw80czfs7l3bwvcc916fz87jxafp683m37"; - }; - }); -}) + let rev1 = "bd7360b"; + in { + neovim-unwrapped = super.neovim-unwrapped.overrideAttrs (oldAttrs: rec { + version = "nightly-${rev1}"; + src = super.fetchFromGitHub rec { + name = "source-${oldAttrs.pname}-${version}-${rev1}"; + owner = "neovim"; + repo = "neovim"; + rev = rev1; + sha256 = "0lg9hwvcaiwj9z6wp9rw80czfs7l3bwvcc916fz87jxafp683m37"; + }; + }); + teams = super.teams.overrideAttrs (oldAttrs: rec { + installPhase = '' + mkdir -p $out/{opt,bin} + rm share/teams/resources/app.asar.unpacked/node_modules/slimcore/bin/rect-overlay + mv share/teams $out/opt/ + mv share $out/share + substituteInPlace $out/share/applications/teams.desktop \ + --replace /usr/bin/ $out/bin/ + ln -s $out/opt/teams/teams $out/bin/ + ''; + }); + }) ] |