input-output-hk / input-output-hk/offchain-metadata-tools

Error: cycle detected (using M1)

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
50
Forks
36
PR merge metrics
No merged PRs in 30d

Description

Hi all,
So I run through the step by step guide:

1. Called `nix-build -A project`
2. Called `nix-shell default.nix -A shell`

In step 2 it looks like it start to download dependencies and then stop with following error:

```
stripping (with command strip and flags -S) in /nix/store/z46frksw53sm6rcmzk776badybkdm3jv-ghcid-0.8.7-bin/bin
patching script interpreter paths in /nix/store/z46frksw53sm6rcmzk776badybkdm3jv-ghcid-0.8.7-bin
error: cycle detected in build of '/nix/store/fwpl9v7aarnxgk581k32hcq3il4n6h54-ghcid-0.8.7.drv' in the references of output 'bin' from output 'out'
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with `nix-build -A project` followed by `nix-shell default.nix -A shell`. Start by inspecting `default.nix` and the `ghcid-0.8.7` dependency build references; done means the shell builds without the reported cycle-detected error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.