Closed GildedHonour closed 4 years ago
MacOs, installing:
$ cabal install ormolu Resolving dependencies... Build profile: -w ghc-8.8.3 -O1 In order, the following will be built (use -v for more details): - ghc-lib-parser-8.8.3.20200224 (lib) (requires build) - ormolu-0.0.3.1 (lib) (requires build) - ormolu-0.0.3.1 (exe:ormolu) (requires build) Starting ghc-lib-parser-8.8.3.20200224 (lib) Building ghc-lib-parser-8.8.3.20200224 (lib) Installing ghc-lib-parser-8.8.3.20200224 (lib) Completed ghc-lib-parser-8.8.3.20200224 (lib) Starting ormolu-0.0.3.1 (lib) Building ormolu-0.0.3.1 (lib) Installing ormolu-0.0.3.1 (lib) Completed ormolu-0.0.3.1 (lib) Starting ormolu-0.0.3.1 (exe:ormolu) Building ormolu-0.0.3.1 (exe:ormolu) Installing ormolu-0.0.3.1 (exe:ormolu) Completed ormolu-0.0.3.1 (exe:ormolu) Symlinking 'ormolu'
And
$ which ormolu $ whereis ormolu $ ormolu -bash: ormolu: command not found
Not an Ormolu issue. Most likely the directory where Cabal puts the symlink is not on your PATH. You’ll have to find that directory on Mac and then add it to PATH.
MacOs, installing:
And