From be0e05c6694a715beb242c16c91f890e5fbdc08e Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 27 Jan 2020 14:57:47 +0000 Subject: Prefer home variable rather than hard coded path to readTree TIL: Nix support the ~ as a home variable, which makes my code more portable since it's shared between my work laptop and work desktop. --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index f4eda0d5ea26..ff4f40d8f943 100644 --- a/default.nix +++ b/default.nix @@ -13,7 +13,7 @@ let inherit pkgs; }; - readTree' = import /home/wpcarro/depot/nix/readTree {}; + readTree' = import ~/depot/nix/readTree {}; # TODO: Find a better way to expose entire monorepo without introducing # "infinite recursion". -- cgit 1.4.1