@@ -738,13 +738,15 @@ installed binaries, and so on.
738738 $ cabal path
739739 compiler-flavour: ghc
740740 compiler-id: ghc-9.8.2
741+ compiler-abi-tag: ghc-9.8.2
741742 compiler-path: /home/alice/.ghcup/bin/ghc
743+ compiler-store-path: /home/alice/.local/state/cabal/store/ghc-9.8.2
742744 cache-home: /home/alice/.cache/cabal
743745 remote-repo-cache: /home/alice/.cache/cabal/packages
744746 logs-dir: /home/alice/.cache/cabal/logs
745- store-dir: /home/alice/.cache /cabal/store
747+ store-dir: /home/alice/.local/state /cabal/store
746748 config-file: /home/alice/.config/cabal/config
747- installdir: /home/alice/.cache/cabal /bin
749+ installdir: /home/alice/.local /bin
748750
749751Or using the json output:
750752
@@ -755,18 +757,20 @@ Or using the json output:
755757.. code-block :: json
756758
757759 {
758- "cabal-version" : " 3.14.1 .0" ,
760+ "cabal-version" : " 3.17.0 .0" ,
759761 "compiler" : {
760762 "flavour" : " ghc" ,
761763 "id" : " ghc-9.8.2" ,
762- "path" : " /home/alice/.ghcup/bin/ghc"
764+ "abi-tag" : " ghc-9.8.2" ,
765+ "path" : " /home/alice/.ghcup/bin/ghc" ,
766+ "store-path" : " /home/alice/.local/state/cabal/store/ghc-9.8.2"
763767 },
764768 "cache-home" : " /home/alice/.cache/cabal" ,
765769 "remote-repo-cache" : " /home/alice/.cache/cabal/packages" ,
766770 "logs-dir" : " /home/alice/.cache/cabal/logs" ,
767- "store-dir" : " /home/alice/.cache /cabal/store" ,
771+ "store-dir" : " /home/alice/.local/state /cabal/store" ,
768772 "config-file" : " /home/alice/.config/cabal/config" ,
769- "installdir" : " /home/alice/.cache/cabal /bin"
773+ "installdir" : " /home/alice/.local /bin"
770774 }
771775
772776 If ``cabal path `` is passed a single option naming a path, then that
@@ -775,7 +779,7 @@ path will be printed *without* any label:
775779::
776780
777781 $ cabal path --installdir
778- /home/alice/.cache/cabal /bin
782+ /home/alice/.local /bin
779783
780784While this interface is intended to be used for scripting, it is an experimental command.
781785Scripting example:
0 commit comments