Skip to content

cabal rundoesn't pass the arguments to the executable when using the package as a target #4600

Closed

Description

@fgaz

To reproduce create a package named foo with a single executable named bar which outputs its arguments.

> cabal run bar arg
["arg"]
> cabal run foo arg
[]

This is fixed in new-run.

Activity

  1. fgaz commented on Dec 15, 2020

    @fgaz
    MemberAuthor

    v2-/new- is now the default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions