diff --git a/doc/default.nix b/doc/default.nix index 343e6901..1253c33c 100644 --- a/doc/default.nix +++ b/doc/default.nix @@ -1,7 +1,7 @@ { lib, pkgs, - inputs, + self, callPackage, writeText, stdenvNoCC, @@ -27,13 +27,13 @@ let home_manager = { name = "Home Manager"; configuration = evalDocs [ - inputs.self.homeModules.stylix + self.homeModules.stylix ./hm_compat.nix ]; }; nixos = { name = "NixOS"; - configuration = evalDocs inputs.self.nixosModules.stylix; + configuration = evalDocs self.nixosModules.stylix; }; }; @@ -324,7 +324,7 @@ let # Permalink to view a source file on GitHub. If the commit isn't known, # then fall back to the latest commit. - declarationCommit = inputs.self.rev or "master"; + declarationCommit = self.rev or "master"; declarationPermalink = "https://github.com/nix-community/stylix/blob/${declarationCommit}"; # Renders a single option declaration. Example output: diff --git a/flake/packages.nix b/flake/packages.nix index 7990ecb7..d603d2af 100644 --- a/flake/packages.nix +++ b/flake/packages.nix @@ -21,7 +21,7 @@ )) { doc = pkgs.callPackage ../doc { - inherit inputs; + inherit (inputs) self; }; serve-docs = pkgs.callPackage ../doc/server.nix { inherit (config.packages) doc;