Skip to content

Commit 2eddc49

Browse files
committed
Add symlink-bindir flag to install/upgrade command
Was previously only available in the config file.
1 parent d27cf4d commit 2eddc49

File tree

1 file changed

+5
-0
lines changed
  • cabal-install/Distribution/Client

1 file changed

+5
-0
lines changed

cabal-install/Distribution/Client/Setup.hs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,11 @@ installOptions showOrParseArgs =
385385
installRootCmd (\v flags -> flags { installRootCmd = v })
386386
(reqArg' "COMMAND" toFlag flagToList)
387387

388+
, option [] ["symlink-bindir"]
389+
"Add symlinks to installed executables into this directory."
390+
installSymlinkBinDir (\v flags -> flags { installSymlinkBinDir = v })
391+
(reqArgFlag "DIR")
392+
388393
, option [] ["cabal-lib-version"]
389394
("Select which version of the Cabal lib to use to build packages "
390395
++ "(useful for testing).")

0 commit comments

Comments
 (0)