flake: rm flake-utils dependency
authortoastal <redacted>
Thu, 24 Aug 2023 02:51:41 +0000 (09:51 +0700)
committertoastal <redacted>
Tue, 29 Aug 2023 04:06:48 +0000 (11:06 +0700)
commit34ba3638fbbac7a01ed1b3af86083b7365ec524d
tree74d3ad511630fd0397ded421d82df25cf72170ea
parent87950f72ee247e42deaaece8e15b830bb265453a
flake: rm flake-utils dependency

Pulling in an entire dependency to call a for-loop is wasteful & largely
useless.

When user adds this module to their config, flake-utils & all of its
subdependencies will be pulled into the user’s flake.lock file. This
for-loop was only being used for the developer shell to which a lot of
folks probably aren’t doing active developments in this project as the
module itself doesn’t require it. Potentially damagingly is that this
project lacks its own flake.lock so the latest flake-utils will always
be downloaded regardless of if it that version is compatible or not.
Additionally, flake-utils’ default system list doesn’t include
i686-linux which upstream Python3 in Nixpkgs does.

The alternative solution to these problems is to remove the dependency
& just write a for-loop in this project. This solution could be more or
less robust, but it is an extensible version of that loop that could
handle overlays or config changes if needed in the future.
flake.nix
git clone https://git.99rst.org/PROJECT