From 3f11771a7fb1cb1d3b5a36d64a6df964ff3f271d Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 6 Sep 2017 00:45:55 +0200 Subject: [PATCH] tv: NIX_PATH += nixpkgs-overlays --- tv/2configs/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 730b055a2..241a16b25 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -88,7 +88,15 @@ with import ; }; environment.variables = { - NIX_PATH = mkForce "secrets=/var/src/stockholm/null:/var/src"; + NIX_PATH = mkForce (concatStringsSep ":" [ + "secrets=/var/src/stockholm/null" + "nixpkgs-overlays=${pkgs.runCommand "nixpkgs-overlays" {} '' + mkdir $out + ln -s /home/tv/stockholm/krebs/5pkgs $out/krebs + ln -s /home/tv/stockholm/tv/5pkgs $out/tv + ''}" + "/var/src" + ]); }; }