home-manager/default.nix
Cornelius Mika 85b4c430eb Return a derivation fn in main nix expression
This simplifies installing by (re-)enabling the standard practice
of using the main expression as a function returning the package derivation.

Convert the src dir path to a string to avoid needlessly copying the whole
dir to the nix store.
2017-11-15 21:27:46 +01:00

7 lines
98 B
Nix

{ pkgs ? import <nixpkgs> {} }:
import ./home-manager {
inherit pkgs;
path = toString ./.;
}