The haskell template uses IFD

Open
#28 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
haskell
Domain
build-system

Research direction

Start by locating the Haskell template and tracing its use of callCabal2nix. Confirm where Import from derivation is introduced and determine a template approach that does not rely on IFD, then verify the flake evaluates without the forbidden behavior.

Written by the indexing model from the issue text.

Description

The haskell template uses "callCabal2nix" which in turn uses IFD which is forbidden in flakes by default for a good reason.

Dominant language
Nix
Stars
768
Forks
104
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from NixOS/templates

All issues in NixOS/templates

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.