mirror of
https://github.com/nix-packages/nixapks.git
synced 2025-12-23 01:11:18 +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:
|
baseDirectory:
|
||||||
let
|
let
|
||||||
namesForShard =
|
namesForShard =
|
||||||
|
|
@ -12,5 +16,5 @@
|
||||||
pkgs.lib.attrsets.mapAttrsToList namesForShard (builtins.readDir baseDirectory)
|
pkgs.lib.attrsets.mapAttrsToList namesForShard (builtins.readDir baseDirectory)
|
||||||
);
|
);
|
||||||
in
|
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