Skip to content
Discussion options

You must be logged in to vote

There are a few approaches.

If it is just a few that differ you could put them in their own categories and just enable them based on that.

Like you could

  lspsAndRuntimeDeps = {
    system-specific = {
      x86_64-linux = [];
      aarch64-darwin = [];
    };
  };

and then

  categories = {
    system-specific.${pkgs.system} = true;
  };

You could also use the extraCats section of your categoryDefinitions documented here if you wanted to set up defaults for things.

You can also use any of the values from the arguments to categoryDefinitions in extraCats too, except for the categories value within the extraCats section of categoryDefinitions, all other arguments are safe to use at all tim…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BirdeeHub
Comment options

Answer selected by bbaserdem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants