flake: add packages.<system>.default (#2835)

This commit is contained in:
Otavio Salvador 2022-04-02 13:38:18 -03:00 committed by GitHub
parent 38156bd4ed
commit cfab869fce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,10 +25,11 @@
docs-html = docs.manual.html; docs-html = docs.manual.html;
docs-manpages = docs.manPages; docs-manpages = docs.manPages;
docs-json = docs.options.json; docs-json = docs.options.json;
default = self.packages.${system}.home-manager;
}); });
defaultPackage = # defaultPackage is deprecated as of Nix 2.7.0
forAllSystems (system: self.packages.${system}.home-manager); defaultPackage = forAllSystems (system: self.packages.${system}.default);
apps = forAllSystems (system: { apps = forAllSystems (system: {
home-manager = { home-manager = {