-
Couldn't load subscription status.
- Fork 5
Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels