haskell.nix icon indicating copy to clipboard operation
haskell.nix copied to clipboard

`error: attribute 'alex' missing` with GHC 9.4.4

Open dhess opened this issue 1 year ago • 6 comments

Describe the bug

Log:

trace: No index state specified for alex, using the latest index state that we know about (2023-02-02T00:00:00Z)!
--
  | trace: No index state specified for happy, using the latest index state that we know about (2023-02-02T00:00:00Z)!
  | trace: No index state specified for alex, using the latest index state that we know about (2023-02-02T00:00:00Z)!
  | trace: No index state specified for happy, using the latest index state that we know about (2023-02-02T00:00:00Z)!
  | trace: WARNING: No materialized dummy-ghc-data.  mkdir /nix/store/3ykyji0a86n1vshgdwh4n7n6jdlcag2h-source/materialized/dummy-ghc/ghc-9.4.4-aarch64-darwin
  | trace: WARNING: No materialized dummy-ghc-data.  mkdir /nix/store/3ykyji0a86n1vshgdwh4n7n6jdlcag2h-source/materialized/dummy-ghc/ghc-9.4.4-aarch64-darwin
  | trace: WARNING: No materialized dummy-ghc-data.  mkdir /nix/store/3ykyji0a86n1vshgdwh4n7n6jdlcag2h-source/materialized/dummy-ghc/ghc-9.4.4-aarch64-darwin
  | trace: WARNING: license "LicenseRef-Apache" not found
  | error: attribute 'alex' missing
  |  
  | at /nix/store/3ykyji0a86n1vshgdwh4n7n6jdlcag2h-source/modules/configuration-nix.nix:63:65:
  |  
  | 62|     pkgs.lib.optionals (__compareVersions config.hsPkgs.ghc.identifier.version "9.4.1" > 0) [
  | 63|       (config.hsPkgs.buildPackages.alex.components.exes.alex or pkgs.buildPackages.alex)
  |   |                                                                 ^
  | 64|       (config.hsPkgs.buildPackages.happy.components.exes.happy or pkgs.buildPackages.happy)
  | Did you mean one of clex, flex, plex, ace or afew?
  | (use '--show-trace' to show detailed location information)
  • Build system: aarch64-darwin
  • GHC version: 9.4.4
  • Haskell.nix version (or commit) used: 78aed6a7b53aa824cadae67c2ec4b8c75ea008f8

~Seems to work fine on x86_64-linux.~

dhess avatar Feb 05 '23 15:02 dhess