fix(users/multi/home): use local depot checkout.

This reverts 1478317d149539d74fa4bad8414658fb7119ea07.

Using depot.depotPath in my home-manager configuration results in my
NIX_PATH and home-manager config file path being pointed at a copy of
the depot in the nix store, which makes building from my local depot
checkout a bit cumbersome.

Change-Id: Ib687d3e8147cb32df071d3c19a5300294ea62c0c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2130
Tested-by: BuildkiteCI
Reviewed-by: multi <depot@in-addr.xyz>
This commit is contained in:
multi 2020-11-22 19:59:43 +00:00
parent 7ff2142f19
commit ba9fb4e112

View file

@ -2,6 +2,10 @@
let
nixpkgs = import pkgs.nixpkgsSrc {};
# use the depot checkout in my home directory, to make hacking around easier,
# instead of the depot checkout sitting in the nix stores
depotPath = "/home/multi/depot";
in
{
@ -43,8 +47,8 @@ in
home.sessionVariables = {
NIX_PATH =
"nixpkgs=${pkgs.nixpkgsSrc}:" +
"depot=${depot.depotPath}";
HOME_MANAGER_CONFIG = "${depot.depotPath}/users/multi/home/home-manager.nix";
"depot=${depotPath}";
HOME_MANAGER_CONFIG = "${depotPath}/users/multi/home/home-manager.nix";
EDITOR = "vim";
};