Skip to content

issue running build script #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
idrisr opened this issue Aug 27, 2022 · 0 comments
Open

issue running build script #1

idrisr opened this issue Aug 27, 2022 · 0 comments
Assignees

Comments

@idrisr
Copy link

idrisr commented Aug 27, 2022

Tried running the build script, and ran into the following error. Is it an issue with the stack resolver directive in build.hs?

> ./build.hs
error: attribute 'ghc822' missing

            1| with (import <nixpkgs> {}); let inputs = [haskell.compiler.ghc822 git gcc gmp]; libPath = lib.makeLibraryPath inputs; stackExtraArgs = lib.concatMap (pkg: [ ''--extra-lib-dirs=${lib.getLib pkg}/lib''   ''--extra-include-dirs=${lib.getDev pkg}/include'' ]) inputs; in runCommand ''myEnv'' { buildInputs = lib.optional stdenv.isLinux glibcLocales ++ inputs; STACK_PLATFORM_VARIANT=''nix''; STACK_IN_NIX_SHELL=1; LD_LIBRARY_PATH = libPath;STACK_IN_NIX_EXTRA_ARGS = stackExtraArgs; LANG="en_US.UTF-8";} ""
             |                                           ^
       Did you mean one of ghc922, ghc884, ghc902, ghc923 or ghc924?
(use '--show-trace' to show detailed location information)

> stack --version
2.7.5 x86_64 hpack-0.34.7

> nixos --version
22.05.2711.294ef54a1e8 (Quokka)

@chris-martin chris-martin self-assigned this Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants