@@ -267,7 +267,7 @@ cabal preferences. It is very useful when you are e.g. first configuring
267267
268268 .. option :: --config-file=PATH
269269
270- Specify config file path. (default: ``~/.cabal/config ``).
270+ Specify config file path. (default: ``~/.config/ cabal/config ``).
271271
272272 .. option :: -f , --force
273273
@@ -739,12 +739,12 @@ installed binaries, and so on.
739739 compiler-flavour: ghc
740740 compiler-id: ghc-9.8.2
741741 compiler-path: /home/alice/.ghcup/bin/ghc
742- cache-home: /home/alice/.cabal
743- remote-repo-cache: /home/alice/.cabal/packages
744- logs-dir: /home/alice/.cabal/logs
745- store-dir: /home/alice/.cabal/store
746- config-file: /home/alice/.cabal/config
747- installdir: /home/alice/.cabal/bin
742+ cache-home: /home/alice/.cache/ cabal
743+ remote-repo-cache: /home/alice/.cache/ cabal/packages
744+ logs-dir: /home/alice/.cache/ cabal/logs
745+ store-dir: /home/alice/.cache/ cabal/store
746+ config-file: /home/alice/.config/ cabal/config
747+ installdir: /home/alice/.cache/ cabal/bin
748748
749749Or using the json output:
750750
@@ -755,18 +755,18 @@ Or using the json output:
755755.. code-block :: json
756756
757757 {
758- "cabal-version" : " 3.13.0 .0" ,
758+ "cabal-version" : " 3.14.1 .0" ,
759759 "compiler" : {
760760 "flavour" : " ghc" ,
761761 "id" : " ghc-9.8.2" ,
762762 "path" : " /home/alice/.ghcup/bin/ghc"
763763 },
764- "cache-home" : " /home/alice/.cabal" ,
765- "remote-repo-cache" : " /home/alice/.cabal/packages" ,
766- "logs-dir" : " /home/alice/.cabal/logs" ,
767- "store-dir" : " /home/alice/.cabal/store" ,
768- "config-file" : " /home/alice/.cabal/config" ,
769- "installdir" : " /home/alice/.cabal/bin"
764+ "cache-home" : " /home/alice/.cache/ cabal" ,
765+ "remote-repo-cache" : " /home/alice/.cache/ cabal/packages" ,
766+ "logs-dir" : " /home/alice/.cache/ cabal/logs" ,
767+ "store-dir" : " /home/alice/.cache/ cabal/store" ,
768+ "config-file" : " /home/alice/.config/ cabal/config" ,
769+ "installdir" : " /home/alice/.cache/ cabal/bin"
770770 }
771771
772772 If ``cabal path `` is passed a single option naming a path, then that
@@ -775,7 +775,7 @@ path will be printed *without* any label:
775775::
776776
777777 $ cabal path --installdir
778- /home/alice/.cabal/bin
778+ /home/alice/.cache/ cabal/bin
779779
780780While this interface is intended to be used for scripting, it is an experimental command.
781781Scripting example:
0 commit comments