atlas icon indicating copy to clipboard operation
atlas copied to clipboard

"nix develop" does not build for latest release v0.13.0

Open LukaKurnjek opened this issue 7 months ago • 2 comments

Describe the bug When running the nix develop command for the latest atlas release v0.13.0 the shell does not get build.

To Reproduce

  1. Installed nix and edited nix.conf:
build-users-group = nixbld
trusted-users = luka root
experimental-features = nix-command flakes
extra-substituters = https://cache.iog.io/ 
extra-trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
  1. Cloned atlas repo, checkout v0.13.0 and run: nix develop -L > v0.13.0-nix.log 2>&1

v0.13.0-nix.log

Issues encountered It looks like there is a version conflict: haskell-project-plan-to-nix-pkgs> [__1] rejecting: cardano-api-10.6.0.0 (conflict: atlas-cardano => haskell-project-plan-to-nix-pkgs> cardano-api^>=10.13.1)

There are also some warnings for index state of CHaP and Hackage: haskell-project-plan-to-nix-pkgs> Warning: Requested index-state 2025-04-15T19:49:23Z is newer than haskell-project-plan-to-nix-pkgs> 'hackage.haskell.org'! Falling back to older state (2025-01-14T23:25:37Z). haskell-project-plan-to-nix-pkgs> Warning: The package list for 'cardano-haskell-packages' is 20201 days old. haskell-project-plan-to-nix-pkgs> Run 'cabal update' to get the latest list of available packages. haskell-project-plan-to-nix-pkgs> Warning: Requested index-state 2025-04-11T16:42:25Z is newer than haskell-project-plan-to-nix-pkgs> 'cardano-haskell-packages'! Falling back to older state haskell-project-plan-to-nix-pkgs> (2025-01-15T09:59:24Z).

Expected behavior The nix shell should build without issue which is the case for atlas v0.11.1.

Station (please complete the following information):

  • OS: WSL2 Ubuntu
  • Version 24.04

LukaKurnjek avatar Apr 23 '25 10:04 LukaKurnjek

Hi, thanks for raising this issue. Could you see if suggestion here resolves your issue?

sourabhxyz avatar Apr 23 '25 12:04 sourabhxyz

Yes it does. Thank you for your help @sourabhxyz.

LukaKurnjek avatar Apr 30 '25 12:04 LukaKurnjek