Running makes CLI within makes #1001

Open
opened 2023-01-26 01:45:08 +01:00 by dsalaza4 · 1 comment
dsalaza4 commented 2023-01-26 01:45:08 +01:00 (Migrated from github.com)

I have seen use cases where I want to execute the m command within a makeScript job.

Let's look for a comfortable way to do this.

I have seen use cases where I want to execute the `m` command within a `makeScript` job. Let's look for a comfortable way to do this.
dsalaza4 commented 2023-01-26 19:20:58 +01:00 (Migrated from github.com)

It looks like doing something like this is enough:

makes = import (builtins.fetchGit {
  url = "https://github.com/fluidattacks/makes";
  ref = "refs/heads/main";
  rev = "bd2848c799aac0f04e211f16547dad41c6e3190e";
}) {};

Then it can be added to the path with:

searchPaths.bin = [makes]

Let's add documentation for this.

It looks like doing something like this is enough: ```nix makes = import (builtins.fetchGit { url = "https://github.com/fluidattacks/makes"; ref = "refs/heads/main"; rev = "bd2848c799aac0f04e211f16547dad41c6e3190e"; }) {}; ``` Then it can be added to the path with: `searchPaths.bin = [makes]` Let's add documentation for this.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
justin/makes#1001
No description provided.