forked from pub-solar/os
be924bcb27
for clarity's sake, expose which function uses final and prev, so that people can have a clearer understanding how they relate to each other in terms of dependencies. also a simple `{ lib = final; }` probably does not warrant a complete callLibs obscurization.
9 lines
151 B
Nix
9 lines
151 B
Nix
{ lib }:
|
|
{
|
|
pathsIn = dir:
|
|
let
|
|
fullPath = name: "${toString dir}/${name}";
|
|
in
|
|
map fullPath (lib.attrNames (lib.safeReadDir dir));
|
|
}
|