Skip to content

Installation fails if python is not installed on host system #140

@Baltoli

Description

@Baltoli

On macOS 12.3 Monterey (at least, I've not verified other versions), there is no python installed. This causes the action to fail with the following error:

> Run cachix/install-nix-action@v17
The node12 is not supported on macOS ARM6[4](https://github.com/runtimeverification/llvm-backend/runs/7196589297?check_suite_focus=true#step:3:5) platform. Use node16 instead.
/Users/user/actions-runner/_work/_actions/cachix/install-nix-action/v17/lib/install-nix.sh: line 41: python: command not found
node:child_process:867
    throw err;
    ^
Error: Command failed: /Users/user/actions-runner/_work/_actions/cachix/install-nix-action/v17/lib/install-nix.sh
(...etc)

Would it be possible to add an option to use python3 at this point in the installation script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions