flake: fix self referential lib output

In https://github.com/nix-community/home-manager/pull/2859, the
library became self-referential, so we need to use the stdlib-extended
helper instead of importing directly.
This commit is contained in:
Noah Fontes 2022-07-22 12:29:04 -07:00 committed by Robert Helgesson
parent d86c189158
commit 1d3380afba
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -21,7 +21,7 @@
darwinModule = self.darwinModules.default;
lib = {
hm = import ./modules/lib { lib = nixpkgs.lib; };
hm = (import ./modules/lib/stdlib-extended.nix nixpkgs.lib).hm;
homeManagerConfiguration = { modules ? [ ], pkgs, lib ? pkgs.lib
, extraSpecialArgs ? { }, check ? true
# Deprecated: