tv: NIX_PATH += nixpkgs-overlays

This commit is contained in:
tv 2017-09-06 00:45:55 +02:00
parent 1436781119
commit 3f11771a7f

View File

@ -88,7 +88,15 @@ with import <stockholm/lib>;
}; };
environment.variables = { 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"
]);
}; };
} }