[darcs-devel] ssh release needed (Re: status of darcsden repo)

Ben Franksen ben.franksen at online.de
Tue Jun 30 10:23:02 UTC 2020


Am 30.06.20 um 10:16 schrieb Ben Franksen:
> Am 29.06.20 um 22:56 schrieb Simon Michael:
>> On Sun, Jun 28, 2020, at 2:53 PM, Ben Franksen wrote:
>>> Am 28.06.20 um 22:45 schrieb Simon Michael:
>>>>> I feel the .project file has been very useful. For one thing,
>>>>> it tells cabal to use my local patched deps. How does your
>>>>> command do that ?
>>>
>>> Cabal does that automatically.
>>>
>>> From 
>>> https://www.haskell.org/cabal/users-guide/nix-local-build.html#configuring-builds-with-cabal-project
>>>
>>>
>>> optional-packages:>> Default value:	./*/*.cabal
>>>
>>> So I check out the projects I need to fiddle with directly into
>>> the source tree of darcsden and cabal picks them up just fine.
>>
>> Thanks for letting me know, I wasn't aware. This is non-obvious but
>> seems quite handy.
>>
>> It appears to have changed to Default: Empty now though:
>> https://cabal.readthedocs.io/en/latest/cabal-project.html#cfg-field-optional-packages,
>> Default value: Empty.
>>
>> (https://www.haskell.org/cabal/users-guide is quite out of date, cf
>> https://github.com/haskell/cabal-website/issues/8. Perhaps it
>> corresponds to cabal-install 3.0.0.0, I don't know.)
> 
> Thanks for the link to the current manual. I just googled for "cabal
> manual". They should get rid of the old doc page if it is outdated!
> 
> I am using cabal-install-3.2. There is no later release. Perhaps the new
> version of the manual is for the (unreleased) head? Or an error in the
> manual?

The documentation you linked to is labelled "latest". I guess this means
it documents the unreleased HEAD. The docs for both "stable" and "3.2"
still list the default as ./*/*.cabal, see
https://cabal.readthedocs.io/en/stable/nix-local-build.html#specifying-the-local-packages

Cheers
Ben



More information about the darcs-devel mailing list