Skip to content

stack install always states that it installed all executabbles #605

Closed
@gregwebs

Description

@gregwebs

When I run stack install package:exe1, It appears to only build exe1 but copy over both exe1 and exe2 into the path.

stack install fancy-api:fancy-api3 --flag fancy-api:-fdev
fancy-api-0.0.1-2fc5f00bbc8c21a5b4453ada417d72b3: unregistering (components changed)
fancy-api-0.0.1: configure
Configuring fancy-api-0.0.1...
fancy-api-0.0.1: build
Preprocessing library fancy-api-0.0.1...
In-place registering fancy-api-0.0.1...
Preprocessing executable 'fancy-api3' for fancy-api-0.0.1...
Linking .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/build/fancy-api3/fancy-api3 ...
fancy-api-0.0.1: install
Installing library in
/home/haskell/frontrow/backend/.stack-work/install/x86_64-linux/lts-2.3/7.8.4/lib/x86_64-linux-ghc-7.8.4/fancy-api-0.0.1
Installing executable(s) in
/home/haskell/frontrow/backend/.stack-work/install/x86_64-linux/lts-2.3/7.8.4/bin
Registering fancy-api-0.0.1...
Installation path /home/haskell/.local/bin/ not found in PATH environment variable
Copying from /home/haskell/frontrow/backend/.stack-work/install/x86_64-linux/lts-2.3/7.8.4/bin/fancy-api2 to /home/haskell/.local/bin/fancy-api2
Copying from /home/haskell/frontrow/backend/.stack-work/install/x86_64-linux/lts-2.3/7.8.4/bin/fancy-api3 to /home/haskell/.local/bin/fancy-api3

Installed executables to /home/haskell/.local/bin/:
- fancy-api3
- fancy-api2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions