summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2018-09-26 21:35:27 +0200
committerAdrian Kummerlaender2018-09-26 21:38:13 +0200
commit0b0d75d7ba59107434a1ce769c6c05b1ad13768a (patch)
tree267419dabf978da212e16d0ee1cac1786d658cfb
parent9e1c4583fd06953db2b2eddf6e183f882b64bd2e (diff)
downloadpkgs-0b0d75d7ba59107434a1ce769c6c05b1ad13768a.tar
pkgs-0b0d75d7ba59107434a1ce769c6c05b1ad13768a.tar.gz
pkgs-0b0d75d7ba59107434a1ce769c6c05b1ad13768a.tar.bz2
pkgs-0b0d75d7ba59107434a1ce769c6c05b1ad13768a.tar.lz
pkgs-0b0d75d7ba59107434a1ce769c6c05b1ad13768a.tar.xz
pkgs-0b0d75d7ba59107434a1ce769c6c05b1ad13768a.tar.zst
pkgs-0b0d75d7ba59107434a1ce769c6c05b1ad13768a.zip
Add custom-neovim derivation
Config is shared with custom-vim
-rw-r--r--default.nix3
-rw-r--r--pkgs/custom-neovim/default.nix6
2 files changed, 8 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index dbacace..82d76ef 100644
--- a/default.nix
+++ b/default.nix
@@ -6,7 +6,8 @@ let
callPackage = pkgs.lib.callPackageWith (pkgs // custom);
custom = {
- custom-vim = callPackage ./pkgs/custom-vim { };
+ custom-vim = callPackage ./pkgs/custom-vim { };
+ custom-neovim = callPackage ./pkgs/custom-neovim { };
modem-manager-gui = callPackage ./pkgs/modem-manager-gui { };
diff --git a/pkgs/custom-neovim/default.nix b/pkgs/custom-neovim/default.nix
new file mode 100644
index 0000000..34e2fcd
--- /dev/null
+++ b/pkgs/custom-neovim/default.nix
@@ -0,0 +1,6 @@
+{ pkgs, ... }:
+
+pkgs.neovim.override {
+ vimAlias = false;
+ configure = import ../custom-vim/custom.nix { pkgs = pkgs; };
+}