diff --git a/API_GUIDE.md b/API_GUIDE.md index 87a0a30..fe71e3b 100644 --- a/API_GUIDE.md +++ b/API_GUIDE.md @@ -109,19 +109,6 @@ To use a different nixpkgs from the built-in default: nixpkgs.url = "nixpkgs/nixpkgs-unstable"; }; outputs = { flakelight, ... }: - flakelight ./. { }; -} -``` - -You can also explicitly pass in inputs, overriding defaults, as follows: - -```nix -{ - inputs = { - nixpkgs.url = "nixpkgs/nixpkgs-unstable"; - flakelight.url = "github:nix-community/flakelight"; - }; - outputs = { flakelight, ... }@inputs: flakelight ./. { inherit inputs; }; diff --git a/README.md b/README.md index e2c059e..b622a0c 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,7 @@ To use a different nixpkgs, you can instead use: }; outputs = { flakelight, ... }: flakelight ./. { + inherit inputs; devShell.packages = pkgs: [ pkgs.hello pkgs.coreutils ]; }; }