summaryrefslogtreecommitdiffstats
path: root/pkgs/vim
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-09-18 15:06:50 +0200
committertv <tv@krebsco.de>2023-09-18 15:06:50 +0200
commit5928a25ad10c0e463732ba4959e2e2b5a742166a (patch)
treef2e520deaec0bd25523cb53dfcc61a29ed72be31 /pkgs/vim
parent0c4f3acb281be6290c55a6e96bc29fab5b5c7a11 (diff)
pkgs: propagate mylib
Diffstat (limited to 'pkgs/vim')
-rw-r--r--pkgs/vim/default.nix5
-rw-r--r--pkgs/vim/vim.nix8
2 files changed, 2 insertions, 11 deletions
diff --git a/pkgs/vim/default.nix b/pkgs/vim/default.nix
index 20e845a..f83ca3a 100644
--- a/pkgs/vim/default.nix
+++ b/pkgs/vim/default.nix
@@ -1,8 +1,5 @@
self: super: let
- inherit (super) lib;
- mylib = import ../../lib/pure.nix {
- inherit lib;
- };
+ inherit (super) lib mylib;
in {
tv = super.tv // {
vim = {
diff --git a/pkgs/vim/vim.nix b/pkgs/vim/vim.nix
index e026f13..b5f7d4e 100644
--- a/pkgs/vim/vim.nix
+++ b/pkgs/vim/vim.nix
@@ -1,10 +1,4 @@
-{ lib, pkgs }:
-
-let
- mylib = import ../../lib/pure.nix {
- inherit lib;
- };
-in
+{ lib, mylib, pkgs }:
pkgs.tv.vim.makePlugin (pkgs.writeTextFile (let
name = "vim";