summary refs log tree commit diff stats
path: root/overlays/extra-packages.nix
blob: 0bc408bf77ea90b21140007890e09a9ce2c78868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
self: super: {
  vimPlugins = super.vimPlugins.extend (final: prev: {
    coc-tabnine =
      let
        inherit (super) tabnine;
      in
      prev.coc-tabnine.overrideAttrs {
        buildInputs = [ tabnine ];

        postFixup = ''
          mkdir -p $target/binaries/${tabnine.version}
          ln -s ${tabnine}/bin/ $target/binaries/${tabnine.version}/${tabnine.passthru.platform}
        '';
      };
  });
  enchant =
    let
      file = builtins.fetchurl {
        url = "https://raw.githubusercontent.com/alanpearce/nixpkgs/7ee75d6aa9b088922b47b69c1912b2afe000ae52/pkgs/development/libraries/enchant/2.x.nix";
        sha256 = "1y7h3fvp7ghcfb5v3h6riiv7z2bzgnxm0p696bbhfb0gwwv9q8aw";
      };
    in
    super.callPackage file {
      withHspell = false;
      withAspell = false;

      inherit (super.darwin.apple_sdk.frameworks) Cocoa;
    };
}