pub-solar-os/lib/lists.nix

9 lines
156 B
Nix
Raw Normal View History

2021-04-18 01:35:05 +00:00
{ lib, ... }:
{
pathsIn = dir:
let
fullPath = name: "${toString dir}/${name}";
in
2021-04-18 01:35:05 +00:00
map fullPath (lib.attrNames (lib.safeReadDir dir));
}