summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-29 12:34:00 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-01-29 12:34:00 +0100
commitdd2e569e817edf4ad8b69e3cb221e0fd266df4ae (patch)
treee62b67a5d664bcd7a22e53c52e41cc8cbc65adf0
parentchore(treewide): License under the LGPL-3.0-or-later (diff)
downloadnix-library-dd2e569e817edf4ad8b69e3cb221e0fd266df4ae.zip
fix(by-name-overlay): Provide the id function as default for `finalizeFunction`
-rw-r--r--by-name-overlay.nix3
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,