stylix: extract nix-flake-check
script
#898
Labels
technical debt
Things which should be cleaned up or improved
nix-flake-check
script
#898
This issue refers to the following:
stylix/flake.nix
Lines 171 to 199 in f121a14
nix flake check
command. I believe we shouldn't ship a replacement for a built in command just to improve its performance, as this should be left for upstream developers to improve, or for users to select their own preferred alternative.packages
in addition tochecks
. This is unnecessary for Stylix, as we export ourpackages
aschecks
too:stylix/flake.nix
Line 129 in f121a14
${self}
was a command line argument, it would be possible to use the script for any flake.nix flake check
, not just building a script which does so.Given the above points, I feel that the script would be better off as a separate repository (or Gist given its simplicity).
This doesn't mean it can't be a thing we suggest in comments and such, it just doesn't make sense for it to be shipped as part of Stylix per se.
CC @trueNAHO, as it looks like you're the original author
The text was updated successfully, but these errors were encountered: