From e8e005029d5da0c133ce52c07a3480150730d909 Mon Sep 17 00:00:00 2001 From: reo101 Date: Mon, 28 Nov 2022 00:08:48 +0200 Subject: [PATCH] chore(flake): rename `lib` -> `helpers` Prevents name clashing with `nixpkgs.lib` --- flake.nix | 6 ++---- lib/{default.nix => helpers.nix} | 0 2 files changed, 2 insertions(+), 4 deletions(-) rename lib/{default.nix => helpers.nix} (100%) diff --git a/flake.nix b/flake.nix index f75d183..e9cc933 100644 --- a/flake.nix +++ b/flake.nix @@ -67,10 +67,8 @@ } @ inputs: let inherit (self) outputs; - inherit ((import ./lib/default.nix) { lib = nixpkgs.lib; }) - recurseDir - hasFiles - hasDirectories; + helpers = (import ./lib/helpers.nix) { lib = nixpkgs.lib; }; + inherit (helpers) recurseDir hasFiles hasDirectories; forAllSystems = nixpkgs.lib.genAttrs [ "aarch64-linux" "i686-linux" diff --git a/lib/default.nix b/lib/helpers.nix similarity index 100% rename from lib/default.nix rename to lib/helpers.nix