mirror of
https://github.com/nix-packages/nixapks.git
synced 2025-11-08 11:36:12 +01:00
refactor: update parameter structure in default.nix for consistency
This commit is contained in:
parent
d37eb77e46
commit
f8fcbfaac7
1 changed files with 7 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue