danth/stylix

stylix: re-add `flake-utils` dependency

Closed this issue · 2 comments

To: @danth

Why was the flake-utils dependency removed in commit ff5da29 ("Remove dependency on flake-utils ➖")?

Some of its functionality, like handling the --impure flag, are neat but would be too costly to re-implement on our side.

Re-adding flake-utils and injecting the "i686-linux" system would resolve this issue:

I already have a working PR. Once it is cleaned up I can submit it for review (tomorrow).

Coincidentally, the PR publicly interfaces an overridable list of supported architectures.

I didn't think it was worth the extra dependency for something which could be implemented fairly easily using functions from the nixpkgs library.

Admittedly things have changed in both Stylix and flake-utils since that commit; there may also be additions to the nixpkgs library which could be useful here.