Skip to content

Bogus warnings about system search path on v2 commands #6484

Open
@fgaz

Description

@fgaz
> cabal install --lib <package>
Warning: The directory
<store path>/bin
is not in the system search path.

The same happens with v2-build and other v2-commands.
Note that we are not trying to cabal-install (as in v2-install exes) anything. This happens whenever an exe gets Cabal-installed (as in runhaskell Cabal.hs install) in the store.
I remember this not happening before.

This is cabal 3.0.0.0 with ghc 8.6.5 on nixos

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions