robin/ivy

my custom neovim config

git clone https://git.robinwobin.dev/robin/ivy

robinnix: use weavecd23569

main
651 B25 linesraw
1{
2  pkgs ? import <nixpkgs> {
3    inherit system;
4    overlays = [ ];
5    config.allowUnfree = true;
6  },
7  lib ? pkgs.lib,
8  system ? builtins.currentSystem,
9
10  # wow this is hacky
11  inputs,
12  self ? inputs.self,
13  ivyVersion ? self.shortRev or self.dirtyRev or "unknown",
14}:
15let
16  packages = lib.makeScope pkgs.newScope (self: {
17    neovim = self.callPackage ./pkgs/neovim/package.nix { inherit (inputs) neovim-src; };
18    ivy = self.callPackage ./pkgs/ivy/package.nix {
19      inherit ivyVersion;
20      neovim-unwrapped = self.neovim;
21    };
22    inherit (inputs.weave.legacyPackages.${pkgs.stdenv.hostPlatform.system}) wrapNeovim;
23  });
24in
25packages