refactor: update parameter structure in default.nix for consistency

This commit is contained in:
Osman Faruk Bayram 2025-05-28 12:02:12 +03:00
parent d37eb77e46
commit f8fcbfaac7

View file

@ -1,6 +1,10 @@
{ pkgs, ... }:
{
by-name-overlay =
pkgs,
inputs,
...
}:
{
byNameOverlay =
baseDirectory:
let
namesForShard =
@ -12,5 +16,5 @@
pkgs.lib.attrsets.mapAttrsToList namesForShard (builtins.readDir baseDirectory)
);
in
pkgs.lib.mapAttrs (name: _: pkgs.callPackage _ { }) packageFiles;
pkgs.lib.mapAttrs (name: _: pkgs.callPackage _ { inherit inputs; }) packageFiles;
}