From cfab869fcebc56710be6ec3aca76036b25c04a0d Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sat, 2 Apr 2022 13:38:18 -0300 Subject: [PATCH] flake: add `packages..default` (#2835) --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 5d9bb01f..5cdbad3e 100644 --- a/flake.nix +++ b/flake.nix @@ -25,10 +25,11 @@ docs-html = docs.manual.html; docs-manpages = docs.manPages; docs-json = docs.options.json; + default = self.packages.${system}.home-manager; }); - defaultPackage = - forAllSystems (system: self.packages.${system}.home-manager); + # defaultPackage is deprecated as of Nix 2.7.0 + defaultPackage = forAllSystems (system: self.packages.${system}.default); apps = forAllSystems (system: { home-manager = {