Skip to content

hackage2nix: fromString: "_type" is not a valid PackageVersionConstraint #688

@wolfgangwalther

Description

@wolfgangwalther

Currently trying to mark packages on haskell-updates as broken, but running hackage2nix now results in:

hackage2nix: fromString: "_type" is not a valid PackageVersionConstraint
CallStack (from HasCallStack):
  error, called at src/Distribution/Nixpkgs/Haskell/OrphanInstances.hs:89:32 in cabal2nix-2.20.1-LIrlgcX3ajCmHtwEJXoey:Distribution.Nixpkgs.Haskell.OrphanInstances
HasCallStack backtrace:
  collectBacktraces, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:169:13 in ghc-internal:GHC.Internal.Exception
  toExceptionWithBacktrace, called at libraries/ghc-internal/src/GHC/Internal/Exception.hs:204:5 in ghc-internal:GHC.Internal.Exception
  error, called at src/Distribution/Nixpkgs/Haskell/OrphanInstances.hs:89:32 in cabal2nix-2.20.1-LIrlgcX3ajCmHtwEJXoey:Distribution.Nixpkgs.Haskell.OrphanInstances

Will not mark _type as broken for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions