drop unused findNixFiles function

This commit is contained in:
Jörg Thalheim 2023-09-28 14:20:58 +02:00
parent 91c8b9c64f
commit 293e7f8ae6

View File

@ -1,17 +1,5 @@
{ lib, self, nixpkgs, ... }:
{
findNixFiles = folder:
lib.mapAttrs'
(name: type:
if
type == "directory"
then
lib.nameValuePair name "${folder}/${name}"
else
lib.nameValuePair (lib.removeSuffix ".nix" name) "${folder}/${name}"
)
(builtins.readDir folder);
jsonschema = import ./jsonschema { inherit lib; };
buildClan = import ./build-clan { inherit lib self nixpkgs; };