From 0e2858af94e3136cfa31d02c04c546fff0502c80 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 21 May 2020 14:45:42 -0500 Subject: [PATCH] Add path attribute to root `default.nix` This makes it possible to refer to the path of Home Manager when you just have a Nix expression, not the actual source. Some things run import on a source and just give access to the result of the import, not the source. PR #1259 --- default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default.nix b/default.nix index 545b01141..dbaea4b50 100644 --- a/default.nix +++ b/default.nix @@ -7,4 +7,6 @@ rec { pkgs.callPackage ./home-manager/install.nix { inherit home-manager; }; nixos = import ./nixos; + + path = ./.; }