Skip to content

[BUG] Segmentation fault evaluating hackage/hpack-0.34.3-r0 #1027

Closed
@tdiesler

Description

@tdiesler

It seems that hackage.nix is generally not usable on ARM64 - it always crashes on a variety HW platforms and OSs

downloading 'https://github.com/input-output-hk/hackage.nix/archive/972cf011638e3bb4509bdb1edd731aab18a31ec8.tar.gz'...
unpacking 'https://github.com/input-output-hk/hackage.nix/archive/972cf011638e3bb4509bdb1edd731aab18a31ec8.tar.gz'...
warning: dumping very large path (> 256 MiB); this may run out of memory
...
building '/nix/store/r59apm6jqkvamkvxj254jgb7255mxz7f-nix-tools-plan-to-nix-pkgs.drv'...
evaluating file '/nix/store/pp0bq2z970pybwidxi5vxc72p3ig81iz-nix-tools-plan-to-nix-pkgs/default.nix'
evaluating file '/nix/store/gb1dxbbdcrjnrw8n480g4asqfwzgml1q-haskellNix-src/patches/ghc865/default.nix'
evaluating file '/nix/store/pp0bq2z970pybwidxi5vxc72p3ig81iz-nix-tools-plan-to-nix-pkgs/.plan.nix/nix-tools.nix'
evaluating file '/nix/store/zz70g6bklfp5lgx629ccihjpnrdq8jwv-hackage-exprs-source/hackage/hpack-0.34.3-r0-ec6d6734b567acc30af5568fea45fbff33885be73fafd59413137c7cf19c3ece.nix'
Segmentation fault

This happens on large AWS (ARM64) machines (32GB RAM) with ...

  • CentOS8
  • Debian9

It is also reproducible with RaspberryPi 4 (8GB)

The version of hackage.nix that I used is that referenced by cardano-node-1.25.1

Without hackage.nix, I can successfully install ghc + cabal into nix-env and nix-shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions