Skip to content

Add :when{-system,-executable}? field to recipe #2259

Description

@Pitometsu

It's a feature request. Is it hard to implement another few fields for recipes like :when-system and :when-executable? And implement it like this:

(when (executable-find "ghc") ...)
(when (eq system-type 'darwin) ...)

This let install some packages only for target OS and only if required executables found.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions