about summary refs log tree commit diff
diff options
context:
space:
mode:
authormulti <depot@in-addr.xyz>2020-11-21T23·34+0000
committermulti <depot@in-addr.xyz>2020-11-21T23·42+0000
commit7dcd518c35e77a10cd4434d1e2dc3abf8d182f22 (patch)
tree448ef8e7ea040c062a8c719e8e806d4d4fb530fe
parent5a00e58904df83c168f3971984916d479277e409 (diff)
fix(users/multi/whitby): fix home-manager configuration on whitby. r/1895
"let pkgs = import <nixpkgs> {}; in pkgs.home-manager.src" evaluates to
the source derivation for home-manager, however home-manager's configuration
machinery expects to be passed the store path of this derivation instead of the
derivation object itself.

Change-Id: I6b0ba3efaff9d080900349529576443192b058e9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2121
Reviewed-by: multi <depot@in-addr.xyz>
Tested-by: BuildkiteCI
-rw-r--r--users/multi/whitby/home-manager.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/multi/whitby/home-manager.nix b/users/multi/whitby/home-manager.nix
index 8d34f6ebd110..18deeb4b5aa0 100644
--- a/users/multi/whitby/home-manager.nix
+++ b/users/multi/whitby/home-manager.nix
@@ -11,7 +11,7 @@ in
   programs = {
     home-manager = {
       enable = true;
-      path = pkgs.home-manager.src;
+      path = toString pkgs.home-manager.src;
     };
 
     bash = {