summaryrefslogtreecommitdiff
path: root/modules/examples
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-08-14 21:47:18 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-08-14 21:47:18 +0200
commit3e1b67d779ba96e73b2e02309bbcb7e80f545d95 (patch)
treea61210609940bfcfa6a2e5a4b64d344ea7edbfda /modules/examples
parenta7fe548f63b85220b486157eaf55dcea45506590 (diff)
lnl: enable nix-index
Diffstat (limited to 'modules/examples')
-rw-r--r--modules/examples/lnl.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix
index 5ea1164..ff8778a 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, ...