Skip to content

Cannot build static-stack for stack(source code) v2.1.3 #81

@thautwarm

Description

@thautwarm

Environment

Ubuntu 16.04(Virtualbox)

System GHC: (base) redy@redy-VirtualBox:~/Desktop/static-haskell-nix/static-stack$ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.10.3 (installed directly from apt)

Reproduction

  1. clone Stack, checkout to tag v2.1.3 to ~/Desktop/stack.
  2. clone this project to ~/Desktop/stack-haskell-nix, get in and git submodule init && git submodule update --recursive
  3. cd static-stack , $(nix-build --no-link -A fullBuildScript --argstr stackDir /home/redy/Desktop/stack):
...
building '/nix/store/l12csrx3ngsvd8pqz8x7hbwgmx838p6v-nix-prefetch-scripts.drv'...

Ensuring git version is >= 2 ...
Ensuring cabal version is >= 2 ...
stack2nix: haskell.compiler.ghc822 failed to build via nix:
error: attribute 'ghc822' in selection path 'haskell.compiler.ghc822' not found

CallStack (from HasCallStack):
  error, called at src/Stack2nix/Util.hs:79:22 in stack2nix-0.2.3-6XVhBtEop6H39w4gsmgj0D:Stack2nix.Util

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions