From 5928a25ad10c0e463732ba4959e2e2b5a742166a Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 18 Sep 2023 15:06:50 +0200 Subject: pkgs: propagate mylib --- pkgs/vim/default.nix | 5 +---- pkgs/vim/vim.nix | 8 +------- 2 files changed, 2 insertions(+), 11 deletions(-) (limited to 'pkgs/vim') 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"; -- cgit v1.2.3