diff --git a/docs/content/getting-started/folder_structure.md b/docs/content/getting-started/folder_structure.md index b791572..0ec503a 100644 --- a/docs/content/getting-started/folder_structure.md +++ b/docs/content/getting-started/folder_structure.md @@ -353,7 +353,7 @@ maps to the "default" package. Inputs: -The [per-system](#per-system) values, plus the `pname` attribute, where pname refers to the package name. +The [per-system](#per-system) values, plus the `pname` attribute, where pname refers to the package name. To keep compatibility with the nixpkgs way of defining packages it is also possible for the inputs to be a subset of nixpkgs. Flake outputs: diff --git a/lib/default.nix b/lib/default.nix index 83ec3eb..69a0121 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -54,7 +54,7 @@ let overlays = nixpkgs.overlays or [ ]; }; in - lib.makeScope lib.callPackageWith (_: { + lib.makeScope lib.callPackageWith (_: pkgs // { inherit inputs perSystem