2 patches for repository http://darcs.net/screened:
patch 684134a7380f9217159428e7fb17fd56f968e7f4
Author: Ben Franksen <ben.franksen@online.de>
Date: Wed Jul 7 13:58:39 CEST 2021
* release/gen-version-info.hs: fix missing check for existence of _darcs
patch 8377c017dd694e4034bc87634773ebc46e14e4a8
Author: Ben Franksen <ben.franksen@online.de>
Date: Sat Jul 10 09:34:31 CEST 2021
* re-write of release/gen-version-info.hs
This simplifies the logic but also replaces the test for existence of _darcs
with catching all IOExceptions. This makes it more robust in case executing
darcs fails for some other reason.
The standard situation is `cabal install darcs` inside a fresh clone.
Here, cabal internally performs an `sdist`, unpacks it in a tmp
location and then builds that.
> The standard situation is `cabal install darcs` inside a fresh clone.
> Here, cabal internally performs an `sdist`, unpacks it in a tmp
> location and then builds that.
Ah, and it's run from `Setup.hs` too. I missed that.