purescript / purescript/npm-installer

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

Open
#23 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the stack setup invocation but no source file or test. First clarify whether Nix/NixOS support is intended and how reliably it must work, then locate where stack setup is run. Done means the chosen behavior is documented and verified for the supported Nix case, or that Nix is explicitly unsupported.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.