Skip to content

error: attribute 'alex' missing with GHC 9.4.4 #1836

Open
@dhess

Description

@dhess

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: 78aed6a

Seems to work fine on x86_64-linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpreservedKeep stale bot away

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions