0e2858af94
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
13 lines
247 B
Nix
13 lines
247 B
Nix
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
rec {
|
|
home-manager = pkgs.callPackage ./home-manager { path = toString ./.; };
|
|
|
|
install =
|
|
pkgs.callPackage ./home-manager/install.nix { inherit home-manager; };
|
|
|
|
nixos = import ./nixos;
|
|
|
|
path = ./.;
|
|
}
|