From f6cdb4a4b050581a257789ab14a9557aba7ff37b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 2 Mar 2019 20:49:45 +0100 Subject: Centrally define set of custom packages Weirdly I did not find a better way to pass a userspace "" channel throughout the home-manager expression tree. i.e. adding a "mypkgs ? import { }" argument to all expressions failed somewhere inside Nix. However this way has the benefit of making it very easy to augment the derivations maintained in pkgs.kummerlaender.eu with additional packages. --- gui/pkgs/nvim-gui.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gui/pkgs') diff --git a/gui/pkgs/nvim-gui.nix b/gui/pkgs/nvim-gui.nix index b5093e2..5cca035 100644 --- a/gui/pkgs/nvim-gui.nix +++ b/gui/pkgs/nvim-gui.nix @@ -1,7 +1,5 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: -let - mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { }; -in pkgs.neovim-qt.override { - neovim = mypkgs.custom-neovim; +pkgs.neovim-qt.override { + neovim = config.custom.pkgs.custom-neovim; } -- cgit v1.2.3