mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
flake: avoid recursive set
This commit is contained in:
parent
7b6e507151
commit
d68cd7f7df
1 changed files with 6 additions and 4 deletions
10
flake.nix
10
flake.nix
|
@ -89,14 +89,16 @@
|
|||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
docs = import ./docs { inherit pkgs; };
|
||||
tests = import ./tests { inherit pkgs; };
|
||||
hmPkg = pkgs.callPackage ./home-manager { };
|
||||
in {
|
||||
devShells.tests = tests.run;
|
||||
packages = rec {
|
||||
home-manager = pkgs.callPackage ./home-manager { };
|
||||
packages = {
|
||||
default = hmPkg;
|
||||
home-manager = hmPkg;
|
||||
|
||||
docs-html = docs.manual.html;
|
||||
docs-manpages = docs.manPages;
|
||||
docs-json = docs.options.json;
|
||||
default = home-manager;
|
||||
docs-manpages = docs.manPages;
|
||||
};
|
||||
# deprecated in Nix 2.7
|
||||
defaultPackage = self.packages.${system}.default;
|
||||
|
|
Loading…
Reference in a new issue