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:
parent
7ff2142f19
commit
ba9fb4e112
1 changed files with 6 additions and 2 deletions
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
nixpkgs = import pkgs.nixpkgsSrc {};
|
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
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -43,8 +47,8 @@ in
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
NIX_PATH =
|
NIX_PATH =
|
||||||
"nixpkgs=${pkgs.nixpkgsSrc}:" +
|
"nixpkgs=${pkgs.nixpkgsSrc}:" +
|
||||||
"depot=${depot.depotPath}";
|
"depot=${depotPath}";
|
||||||
HOME_MANAGER_CONFIG = "${depot.depotPath}/users/multi/home/home-manager.nix";
|
HOME_MANAGER_CONFIG = "${depotPath}/users/multi/home/home-manager.nix";
|
||||||
EDITOR = "vim";
|
EDITOR = "vim";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue