blob: 1e28dc12de328bb96616816bff18a34d0cef9f52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
let
sources = import ./nix/sources.nix;
pkgs = import sources.nixpkgs { };
in pkgs.mkShell rec {
name = "home-manager";
buildInputs = [
pkgs.niv
(import sources.home-manager { inherit pkgs; }).home-manager
];
shellHook = ''
export NIX_SHELL_NAME="${name}"
export NIX_PATH="nixpkgs=${sources.nixpkgs}:home-manager=${sources.home-manager}"
'';
}
|