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.
This commit is contained in:
William Carroll 2020-01-27 14:57:47 +00:00
parent d67993266f
commit be0e05c669

View file

@ -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".