Skip to content

Supply the --nix flag to stack if we appear to be on Nix/NixOS #23

@hdgarrood

Description

@hdgarrood

Raised as a possibility in #21 . Currently, building purs on Nix is unlikely to work, as stack setup reports:

I don't know how to install GHC on your system configuration, please install manually

I honestly have no idea how good of an idea this is; if we can't do this reliably then I think it could easily cause more pain than it would solve. Perhaps we should just not support Nix at all; Nix users do have other options for installing the compiler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions