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
This commit is contained in:
Matthew Bauer 2020-05-21 14:45:42 -05:00 committed by Robert Helgesson
parent 5ba71ef91f
commit 0e2858af94
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 2 additions and 0 deletions

View File

@ -7,4 +7,6 @@ rec {
pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };
nixos = import ./nixos;
path = ./.;
}