diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-01-29 12:34:00 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-01-29 12:34:00 +0100 |
commit | dd2e569e817edf4ad8b69e3cb221e0fd266df4ae (patch) | |
tree | e62b67a5d664bcd7a22e53c52e41cc8cbc65adf0 | |
parent | chore(treewide): License under the LGPL-3.0-or-later (diff) | |
download | nix-library-dd2e569e817edf4ad8b69e3cb221e0fd266df4ae.zip |
fix(by-name-overlay): Provide the id function as default for `finalizeFunction`
-rw-r--r-- | by-name-overlay.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/by-name-overlay.nix b/by-name-overlay.nix index 9d1b8d9..84393b0 100644 --- a/by-name-overlay.nix +++ b/by-name-overlay.nix @@ -7,14 +7,13 @@ # # You should have received a copy of the License along with this program. # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. - {warn}: # Adapted from this: https://github.com/NixOS/nixpkgs/blob/1814b56453c91192f6d5a6276079948f9fe96c18/pkgs/top-level/by-name-overlay.nix # This file should not depend on `pkgs` and thus not use `lib`. { baseDirectory, fileName, - finalizeFunction, + finalizeFunction ? name: value: value, coImportsNameFunction ? null, coImportsWarnMessageObject ? null, useShards ? true, |