From 3e1b67d779ba96e73b2e02309bbcb7e80f545d95 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Mon, 14 Aug 2017 21:47:18 +0200 Subject: [PATCH] lnl: enable nix-index --- modules/examples/lnl.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix index 5ea1164f..ff8778a8 100644 --- a/modules/examples/lnl.nix +++ b/modules/examples/lnl.nix @@ -73,6 +73,7 @@ nix.trustedBinaryCaches = [ https://d3i7ezr9vxxsfy.cloudfront.net ]; nix.trustedUsers = [ "@admin" ]; + programs.nix-index.enable = true; # programs.nix-script.enable = true; programs.tmux.enable = true; @@ -287,8 +288,9 @@ ]; nixpkgs.config.allowUnfree = true; - nixpkgs.config.packageOverrides = pkgs: { - ycmd = pkgs.ycmd.override { gocode = null; godef = null; rustracerd = null; }; + + nixpkgs.config.packageOverrides = super: let self = super.pkgs; in { + ycmd = super.ycmd.override { gocode = null; godef = null; rustracerd = null; }; }; # TODO: add module for per-user config, etc, ...