forked from pub-solar/os
10 lines
209 B
Nix
10 lines
209 B
Nix
{ lib, ... }:
|
|
{
|
|
pathsIn = dir:
|
|
let
|
|
fullPath = name: "${toString dir}/${name}";
|
|
in
|
|
map fullPath (lib.attrNames (lib.optionalAttrs
|
|
(builtins.pathExists dir) (builtins.readDir dir)));
|
|
}
|