typelevel / typelevel/typelevel-nix

Overcoming "Error: Experimental Nix Feature 'nix-command' is disabled..

Open Beginner friendly
#271 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Nix
Stars
134
Forks
11
Avg merge
7h 1m
Merged PRs (30d)
4

Description

Howdy,

I get an 'error: experimental Nix feature 'nix-command' is disabled; add '--extra-experimental-features nix-command' to enable it'

Would you like me to add some text to the README.md on how to resolve that as a PR? Or just let the end users figure it out?

I did a nix develop github:typelevel/typelevel-nix#library --extra-experimental-features "nix-command flakes" and that worked well.

I suppose some of the other solutions are:
export NIX_CONFIG="experimental-features = nix-command flakes"

or editing your nix.conf. Let me know, and I can add a PR

Contributor guide

Open the contributing guide

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

Start with README.md and review where development setup or Nix usage is documented. Verify the reported nix develop command and the alternative NIX_CONFIG or nix.conf approaches, then document the supported way to resolve the disabled nix-command and flakes features. Done means a user can find the README guidance and successfully run the development command.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.